/* ===========================
   PREMIUM ICE DETENTION GUIDE
   Design System v2.0
   =========================== */

/* --- CSS Variables --- */
:root {
    /* Enhanced Color Palette */
    --primary-navy: #1d3242;
    --primary-navy-light: #2a4b6a;
    --primary-navy-dark: #102230;
    --primary-navy-darker: #0a1520;

    --accent-red: #dc2015;
    --accent-red-hover: #b01810;
    --accent-red-light: #ff4d5a;

    --emergency-red: #e63946;
    --emergency-red-glow: rgba(230, 57, 70, 0.3);

    --success-green: #06d6a0;
    --warning-amber: #ffd60a;
    --info-blue: #0077b6;

    /* Neutral Palette */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --black: #000000;

    /* Premium Typography */
    --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;

    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3rem);
    --text-5xl: clamp(3rem, 2.25rem + 3.75vw, 4rem);

    /* Font Weights */
    --weight-light: 300;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;
    --weight-black: 900;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows - Enhanced Depth */
    --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);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 20px rgba(220, 32, 21, 0.3);

    /* Transitions - Smooth & Premium */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-Index Scale */
    --z-base: 0;
    --z-dropdown: 1000;
    --z-sticky: 1100;
    --z-fixed: 1200;
    --z-modal: 1300;
    --z-popover: 1400;
    --z-tooltip: 1500;
}

/* --- Breadcrumb Navigation --- */
.breadcrumb {
    background: var(--gray-50);
    padding: var(--space-2) var(--space-4);
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    z-index: 100;
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--gray-600);
}
.breadcrumb li + li::before {
    content: "\203A";
    margin: 0 8px;
    color: var(--gray-400);
    font-size: 1.1em;
}
.breadcrumb a {
    color: var(--primary-navy);
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb [aria-current="page"] {
    color: var(--black);
    font-weight: var(--weight-semibold);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--gray-50);
    overflow-x: hidden;
    min-height: 100vh;
    /* Prevent layout shift */
    position: relative;
    /* Smooth rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--weight-bold);
    line-height: 1.2;
    color: var(--primary-navy);
}

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

a:hover {
    color: var(--accent-red);
}

strong {
    font-weight: var(--weight-semibold);
}

/* --- Emergency Bar --- */
.emergency-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--emergency-red) 0%, #c1121f 100%);
    color: var(--white);
    padding: var(--space-3) var(--space-4);
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.5s var(--transition-bounce);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.emergency-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.emergency-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: var(--weight-bold);
    font-size: var(--text-sm);
    letter-spacing: 0.05em;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--white);
    border-radius: var(--radius-full);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.emergency-actions {
    display: flex;
    gap: var(--space-3);
}

.emergency-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 22.5px;
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.emergency-btn:hover {
    background-color: var(--white);
    color: var(--emergency-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.emergency-btn .icon {
    width: 18px;
    height: 18px;
}

/* --- Header --- */
.main-header {
    position: relative;
    background: var(--white);
    padding: var(--space-4) var(--space-6) 0;
    margin-top: 52px;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-200);
}

.header-gradient {
    display: none;
}

.header-content {
    position: relative;
    max-width: 1200px;
    margin: 5px auto;
}

.header-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-6);
}

.header-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-5);
    flex: 1;
}

.logo-link {
    display: block;
    transition: transform var(--transition-base);
}

.logo-link:hover {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
}

.logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.title-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.main-title {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    color: var(--primary-navy);
    margin: 0;
    line-height: 1.2;
}

.title-line {
    display: block;
}

.highlight-text {
    color: var(--accent-red);
}

.subtitle {
    font-size: var(--text-base);
    color: var(--gray-600);
    font-weight: var(--weight-normal);
    margin-top: -5px;
}

.badge-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    align-items: flex-end;
}

.trust-badge, .update-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background-color: var(--gray-50);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    color: var(--gray-700);
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
}

.badge-icon {
    width: 14px;
    height: 14px;
    color: var(--gray-600);
}

.header-right {
    display: flex;
    align-items: center;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: var(--space-24) var(--space-6);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(to bottom, rgba(29, 50, 66, 0.75) 0%, rgba(16, 34, 48, 0.85) 100%),
        url('wall.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background-color: var(--emergency-red);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-glow);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--white);
    border-radius: var(--radius-full);
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: var(--weight-black);
    color: var(--white);
    margin-bottom: var(--space-6);
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--white);
    margin-bottom: var(--space-8);
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-cta-group {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-bottom: var(--space-12);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    border-radius: 22.5px;
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.hero-cta.primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, #c1121f 100%);
    color: var(--white);
}

.hero-cta.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.hero-cta.secondary {
    background-color: var(--white);
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.hero-cta.secondary:hover {
    background-color: var(--primary-navy);
    color: var(--white);
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-6);
    background-color: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

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

.stat-number {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    color: var(--accent-red);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
    font-weight: var(--weight-medium);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--gray-300);
}

/* --- Main Content --- */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.content-section {
    padding: var(--space-20) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background-color: var(--accent-red);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.section-badge.light {
    background-color: rgba(255, 255, 255, 0.2);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: var(--weight-extrabold);
    color: var(--primary-navy);
    margin-bottom: var(--space-4);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* Dark Section Variant */
.dark-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
    margin: var(--space-16) calc(var(--space-6) * -1);
    padding: var(--space-20) var(--space-6);
}

.dark-section .section-title {
    color: var(--white);
}

.dark-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

/* --- Action Cards --- */
.action-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    max-width: 800px;
    margin: 0 auto;
}

.action-card {
    position: relative;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border-top: 4px solid transparent;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.action-card.priority-1 {
    border-top-color: var(--emergency-red);
}

.action-card.priority-2 {
    border-top-color: var(--warning-amber);
}

.action-card.priority-3 {
    border-top-color: var(--info-blue);
}

.action-card.priority-4 {
    border-top-color: var(--gray-400);
}

.card-number {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-red) 0%, #c1121f 100%);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    box-shadow: var(--shadow-md);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--primary-navy);
    margin-bottom: var(--space-4);
    padding-right: var(--space-10);
}

.card-content {
    color: var(--gray-700);
}

.card-lead {
    font-weight: var(--weight-medium);
    margin-bottom: var(--space-3);
}

.statement-box {
    position: relative;
    background-color: var(--gray-50);
    border-left: 4px solid var(--accent-red);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin: var(--space-4) 0;
}

.statement-box p {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    color: var(--primary-navy);
    margin: 0;
}

.quote-icon {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    width: 32px;
    height: 32px;
    color: var(--accent-red);
    opacity: 0.2;
}

.action-list {
    list-style: none;
    padding: 0;
    margin-top: var(--space-4);
}

.action-list li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
}

.action-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: var(--weight-bold);
}

.warning-text {
    color: var(--emergency-red);
}

.info-alert {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3);
    background-color: rgba(0, 119, 182, 0.1);
    border-radius: var(--radius-md);
    margin-top: var(--space-4);
}

.alert-icon {
    width: 20px;
    height: 20px;
    color: var(--info-blue);
    flex-shrink: 0;
}

.info-alert p {
    font-size: var(--text-sm);
    color: var(--gray-700);
    margin: 0;
}

.checklist {
    list-style: none;
    padding: 0;
    margin-top: var(--space-4);
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--success-green);
    flex-shrink: 0;
}

.warning-box {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(193, 18, 31, 0.1) 100%);
    border: 2px solid var(--emergency-red);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}

.warning-icon {
    width: 24px;
    height: 24px;
    color: var(--emergency-red);
    flex-shrink: 0;
}

.warning-box p {
    color: var(--gray-900);
    margin: 0;
}

/* --- Rights Cards --- */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
}

.right-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all var(--transition-base);
}

.right-card:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-2xl);
}

.right-card.highlight-card {
    background: linear-gradient(135deg, rgba(220, 32, 21, 0.2) 0%, rgba(193, 18, 31, 0.1) 100%);
    border-color: var(--accent-red);
}

.right-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-4);
}

.right-icon svg {
    width: 100%;
    height: 100%;
    color: var(--accent-red-light);
}

.right-title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--white);
    margin-bottom: var(--space-3);
}

.right-description {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-4);
}

.right-details {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-4);
}

.right-details li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-sm);
}

.right-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: var(--weight-bold);
}

.right-citation {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.citation-icon {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.right-citation span {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* --- Protocol Timeline --- */
.protocol-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.marker-dot {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent-red) 0%, #c1121f 100%);
    border-radius: var(--radius-full);
    box-shadow: 0 0 0 4px rgba(220, 32, 21, 0.2);
}

.marker-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--accent-red) 0%, transparent 100%);
    min-height: 60px;
}

.timeline-content {
    flex: 1;
    padding-bottom: var(--space-6);
}

.timeline-title {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--primary-navy);
    margin-bottom: var(--space-3);
}

.timeline-content > p {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
}

.timeline-actions {
    list-style: none;
    padding: 0;
}

.timeline-actions li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
    color: var(--gray-700);
}

.timeline-actions li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-size: var(--text-xl);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-top: var(--space-4);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-red);
}

.contact-phone {
    display: block;
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    color: var(--accent-red);
}

.legal-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.legal-action {
    padding: var(--space-4);
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--accent-red);
}

.legal-action h4 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--primary-navy);
    margin-bottom: var(--space-2);
}

.legal-action p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin: 0;
}

/* --- Checklist Section --- */
.checklist-container {
    display: grid;
    gap: var(--space-8);
}

.checklist-category {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
}

.category-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--primary-navy);
    margin-bottom: var(--space-6);
}

.category-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-red);
}

.checklist-items {
    display: grid;
    gap: var(--space-4);
}

.checklist-detail {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.checklist-detail:hover {
    background-color: var(--gray-100);
    transform: translateX(4px);
}

.detail-icon {
    width: 24px;
    height: 24px;
    color: var(--success-green);
    flex-shrink: 0;
}

.checklist-detail strong {
    display: block;
    color: var(--primary-navy);
    margin-bottom: var(--space-1);
}

.detail-note {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin: 0;
}

.contact-list {
    display: grid;
    gap: var(--space-3);
}

.contact-item {
    padding: var(--space-4);
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--info-blue);
}

.contact-info strong {
    display: block;
    color: var(--primary-navy);
    margin-bottom: var(--space-1);
}

.contact-info p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin: 0;
}

/* --- Remedies Timeline --- */
.remedies-timeline {
    display: grid;
    gap: var(--space-8);
}

.remedy-phase {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phase-header {
    margin-bottom: var(--space-6);
}

.phase-time {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background-color: var(--accent-red);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-3);
}

.phase-title {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--white);
}

.remedy-items {
    display: grid;
    gap: var(--space-4);
}

.remedy-item {
    padding: var(--space-4);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--accent-red-light);
}

.remedy-item h4 {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    color: var(--white);
    margin-bottom: var(--space-2);
}

.remedy-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-3);
}

.remedy-item ul {
    list-style: none;
    padding: 0;
    margin: var(--space-3) 0 0 0;
}

.remedy-item li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
}

.remedy-item li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-red-light);
}

.remedy-note {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-3);
    background-color: rgba(255, 215, 10, 0.1);
    border-radius: var(--radius-md);
    margin-top: var(--space-3);
}

.note-icon {
    width: 20px;
    height: 20px;
    color: var(--warning-amber);
    flex-shrink: 0;
}

.remedy-note strong {
    color: var(--warning-amber);
}

/* --- Cases Grid --- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.case-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border-top: 4px solid var(--gray-300);
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.case-card.highlight-case {
    border-top-color: var(--accent-red);
    background: linear-gradient(135deg, rgba(220, 32, 21, 0.05) 0%, var(--white) 100%);
}

.case-header {
    margin-bottom: var(--space-4);
}

.case-year {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background-color: var(--gray-100);
    color: var(--gray-700);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-2);
}

.case-name {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--primary-navy);
}

.case-summary {
    color: var(--gray-700);
    margin-bottom: var(--space-4);
}

.case-outcome {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-3);
    background-color: rgba(6, 214, 160, 0.1);
    border-radius: var(--radius-md);
}

.outcome-icon {
    width: 20px;
    height: 20px;
    color: var(--success-green);
    flex-shrink: 0;
}

.case-ruling {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background-color: var(--gray-50);
    border-radius: var(--radius-md);
    margin-top: var(--space-4);
}

.ruling-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-navy);
    flex-shrink: 0;
}

.case-ruling blockquote {
    font-style: italic;
    color: var(--gray-700);
    margin: 0;
}

.cases-note {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background-color: rgba(0, 119, 182, 0.1);
    border-radius: var(--radius-lg);
}

.info-icon {
    width: 24px;
    height: 24px;
    color: var(--info-blue);
    flex-shrink: 0;
}

.cases-note p {
    color: var(--gray-700);
    margin: 0;
}

/* --- Contact Section --- */
.contact-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
    margin: var(--space-16) calc(var(--space-6) * -1);
    padding: var(--space-20) var(--space-6);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.contact-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: var(--weight-extrabold);
    color: var(--white);
    margin-bottom: var(--space-4);
}

.contact-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-8);
}

.contact-features {
    display: grid;
    gap: var(--space-3);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--white);
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: var(--success-green);
}

.contact-card-main {
    background-color: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-2xl);
}

.attorney-info {
    text-align: center;
    padding-bottom: var(--space-6);
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: var(--space-6);
}

.contact-logo {
    height: 60px;
    width: auto;
    margin-bottom: var(--space-4);
}

.attorney-name {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--primary-navy);
    margin-bottom: var(--space-1);
}

.attorney-title {
    font-size: var(--text-base);
    color: var(--gray-600);
    margin: 0;
}

.contact-methods {
    display: grid;
    gap: var(--space-3);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    color: inherit;
}

.contact-method:hover {
    background-color: var(--gray-100);
    transform: translateX(4px);
}

.contact-method.primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, #c1121f 100%);
    color: var(--white);
}

.contact-method.primary:hover {
    transform: translateX(4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.method-icon {
    width: 24px;
    height: 24px;
}

.method-label {
    display: block;
    font-size: var(--text-xs);
    opacity: 0.8;
    margin-bottom: var(--space-1);
}

.method-value {
    display: block;
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--primary-navy-darker);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-12) var(--space-6);
    margin-top: var(--space-20);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-disclaimer {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-6);
    background-color: rgba(255, 215, 10, 0.1);
    border: 1px solid rgba(255, 215, 10, 0.3);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-8);
}

.disclaimer-icon {
    width: 24px;
    height: 24px;
    color: var(--warning-amber);
    flex-shrink: 0;
}

.footer-disclaimer p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    margin: 0;
    font-size: var(--text-sm);
    font-weight: 500;
}

.footer-rights {
    margin: 0;
    font-size: var(--text-sm);
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-2);
    font-size: var(--text-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

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

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-red) 0%, #c1121f 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

@media (max-width: 768px) {
    /* Emergency Bar - Perfectly Compact */
    .emergency-bar {
        padding: 10px 16px;
        min-height: 52px;
    }

    .emergency-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .emergency-badge {
        font-size: 12px;
        font-weight: 700;
        padding: 4px 10px;
        gap: 6px;
        letter-spacing: 0.02em;
    }

    .pulse-indicator {
        width: 7px;
        height: 7px;
    }

    .emergency-actions {
        gap: 8px;
    }

    .emergency-btn {
        padding: 8px 14px;
        font-size: 12px;
        font-weight: 600;
    }

    .emergency-btn .icon {
        width: 18px;
        height: 18px;
    }

    /* Header - Elegant & Spacious */
    .main-header {
        padding: 24px 20px;
        margin-top: 52px;
    }

    .header-top {
        flex-direction: column;
        gap: 20px;
    }

    .header-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .logo {
        height: 64px;
        margin-bottom: 4px;
    }

    .main-title {
        font-size: 28px;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }

    .subtitle {
        font-size: 15px;
        line-height: 1.4;
        opacity: 0.95;
    }

    .badge-container {
        flex-direction: row;
        gap: 10px;
        width: 100%;
        justify-content: center;
        margin-top: 4px;
    }

    .trust-badge, .update-badge {
        font-size: 11px;
        font-weight: 600;
        padding: 6px 12px;
    }

    .badge-icon {
        width: 14px;
        height: 14px;
    }

    /* Hero Section - Breathtaking */
    .hero-section {
        padding: 48px 20px 56px;
        min-height: auto;
    }

    .hero-pattern {
        background-size: 140%;
        background-position: center 20%;
        opacity: 0.95;
    }

    .hero-gradient {
        opacity: 0.98;
    }

    .hero-badge {
        font-size: 11px;
        font-weight: 700;
        padding: 6px 14px;
        letter-spacing: 0.05em;
    }

    .badge-dot {
        width: 6px;
        height: 6px;
    }

    .hero-title {
        font-size: 38px;
        line-height: 1.1;
        letter-spacing: -0.03em;
        margin-bottom: 20px;
        font-weight: 900;
    }

    .hero-description {
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 32px;
        opacity: 0.98;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
        font-size: 17px;
        font-weight: 700;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 24px 20px;
    }

    .stat-number {
        font-size: 32px;
        font-weight: 800;
    }

    .stat-label {
        font-size: 13px;
        font-weight: 500;
    }

    .stat-divider {
        width: 60px;
        height: 2px;
        margin: 0 auto;
        opacity: 0.3;
    }

    .section-header {
        margin-bottom: var(--space-8);
    }

    .section-badge {
        font-size: 10px;
        padding: var(--space-1) var(--space-3);
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .section-description {
        font-size: var(--text-base);
    }

    .action-cards {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .card-number {
        width: 32px;
        height: 32px;
        font-size: var(--text-lg);
    }

    .card-title {
        font-size: var(--text-lg);
        padding-right: var(--space-8);
    }

    .rights-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .timeline-item {
        gap: var(--space-3);
    }

    .timeline-title {
        font-size: var(--text-xl);
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .contact-title {
        font-size: var(--text-2xl);
    }

    .contact-description {
        font-size: var(--text-base);
    }

    /* Footer mobile styles */
    .main-footer {
        padding: var(--space-8) var(--space-4);
    }

    .footer-disclaimer {
        flex-direction: row;
        gap: var(--space-3);
        padding: var(--space-4);
        text-align: left;
    }

    .disclaimer-icon {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        margin-top: 2px;
    }

    .footer-disclaimer p {
        font-size: 13px;
        line-height: 1.6;
    }

    .footer-bottom {
        gap: var(--space-2);
        padding-top: var(--space-4);
    }

    .footer-copyright,
    .footer-rights {
        font-size: 13px;
    }

    .footer-links {
        justify-content: space-between;
        width: 100%;
        margin-top: var(--space-3);
        font-size: 13px;
    }

    .footer-links a {
        padding: var(--space-2);
    }
}

@media (max-width: 480px) {
    :root {
        --space-6: 1rem;
        --space-8: 1.5rem;
        --space-12: 2rem;
        --space-16: 2.5rem;
        --space-20: 3rem;
    }

    .emergency-bar {
        padding: var(--space-2);
    }

    .emergency-btn span {
        display: none;
    }

    .logo {
        height: 50px;
    }

    .hero-section {
        padding: var(--space-12) var(--space-4);
    }

    .content-section {
        padding: var(--space-12) 0;
    }

    .legal-actions-grid {
        grid-template-columns: 1fr;
    }

    .checklist-items {
        grid-template-columns: 1fr;
    }

    /* Footer extra-small mobile styles */
    .main-footer {
        padding: var(--space-6) var(--space-3);
        margin-top: var(--space-12);
    }

    .footer-disclaimer {
        padding: var(--space-3);
        gap: var(--space-2);
        border-radius: var(--radius-md);
    }

    .disclaimer-icon {
        width: 18px;
        height: 18px;
    }

    .footer-disclaimer p {
        font-size: 11px;
        line-height: 1.5;
    }

    .footer-bottom {
        gap: var(--space-2);
        padding-top: var(--space-3);
    }

    .footer-copyright,
    .footer-rights {
        font-size: 12px;
    }

    .footer-links {
        margin-top: var(--space-2);
        font-size: 12px;
    }

    .footer-links a {
        padding: var(--space-2);
    }
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Print Styles --- */
@media print {
    .emergency-bar,
    .back-to-top,
    .emergency-actions {
        display: none;
    }

    body {
        background-color: var(--white);
    }

    .dark-section {
        background: none;
        color: var(--black);
    }

    .section-title,
    .right-title {
        color: var(--black);
    }
}
