/**
 * MED IN HOUSE - Public Stylesheet
 * 
 * Elegant, corporate healthcare styling.
 */

:root {
    /* Color Palette */
    --primary: #47B1AE;
    --primary-hover: #3d9c99;
    --primary-light: #EBF7F7;
    --secondary: #111111;
    --white: #FFFFFF;
    --bg-light: #F5F7F8;
    --border: #E5E7EB;
    --border-dark: #D1D5DB;
    
    /* Semantic Status Colors */
    --success: #22C55E;
    --success-light: #F0FDF4;
    --danger: #EF4444;
    --danger-light: #FEF2F2;
    --warning: #F59E0B;
    --warning-light: #FFFBEB;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Shadows (Soft & Minimalist) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-input: 0 1px 2px 0 rgba(0, 0, 0, 0.02);

    /* Border Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* Container Widths */
    --container-max: 1200px;
    --container-narrow: 800px;
    
    /* Layout Details */
    --header-height: 80px;
    --sidebar-width: 260px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
}

/* Icon Mask Helper */
.icon-svg {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    vertical-align: middle;
}

/* -------------------------------------------------------------
   1. Base & Reset
   ------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
}

/* -------------------------------------------------------------
   2. Typography
   ------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5em;
    letter-spacing: -0.025em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: #4B5563; }

.text-muted { color: #6B7280; }
.text-center { text-align: center; }

/* -------------------------------------------------------------
   3. Common Layout Components
   ------------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--white);
}

.section-title {
    margin-bottom: 48px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.25rem;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
}

.section-title p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 12px auto 0;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    gap: 8px;
}

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

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

.btn-outline {
    background-color: transparent;
    border-color: var(--border-dark);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

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

.btn-white:hover {
    background-color: var(--bg-light);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
}

.btn-full {
    display: flex;
    width: 100%;
}

/* Icons */
.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
}

/* -------------------------------------------------------------
   4. Header & Navigation
   ------------------------------------------------------------- */
header {
    background-color: var(--white);
    height: var(--header-height);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--secondary);
}

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

.logo svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
    stroke-width: 2.5;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: #4B5563;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* -------------------------------------------------------------
   5. Hero Section
   ------------------------------------------------------------- */
.hero {
    background-color: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-content h1 {
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 35px;
    color: #4B5563;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image svg {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

/* -------------------------------------------------------------
   6. Statistics Cards (Animated CSS)
   ------------------------------------------------------------- */
.stats-section {
    padding: 40px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 24px;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.stat-card .number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-card .label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4B5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* -------------------------------------------------------------
   7. Service Cards
   ------------------------------------------------------------- */
.service-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.service-icon-box {
    width: 56px;
    height: 56px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon-box svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: #6B7280;
    margin-bottom: 20px;
    min-height: 72px; /* standard height */
}

.service-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.service-price-row span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #9CA3AF;
}

.service-price-row strong {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
}

/* -------------------------------------------------------------
   8. Coverage Area
   ------------------------------------------------------------- */
.coverage-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.coverage-details h3 {
    margin-bottom: 16px;
}

.city-list {
    margin-top: 24px;
}

.city-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

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

.city-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.city-name {
    font-weight: 600;
}

.city-state {
    font-size: 0.85rem;
    color: #6B7280;
    background-color: var(--bg-light);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.coverage-map {
    display: flex;
    justify-content: center;
    align-items: center;
}

.coverage-map svg {
    width: 100%;
    max-height: 350px;
    fill: none;
}

/* -------------------------------------------------------------
   9. Testimonials & Testimonial Cards
   ------------------------------------------------------------- */
.testimonial-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    color: var(--warning);
    margin-bottom: 16px;
}

.testimonial-rating svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.testimonial-text {
    font-style: italic;
    color: #4B5563;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.author-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.author-city {
    font-size: 0.8rem;
    color: #6B7280;
}

/* -------------------------------------------------------------
   10. FAQ Accordion Component
   ------------------------------------------------------------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-normal);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: padding var(--transition-normal), max-height var(--transition-normal);
    color: #4B5563;
    font-size: 0.95rem;
    border-top: 0 solid var(--border);
}

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

.faq-item.active .faq-answer {
    padding: 20px 24px;
    max-height: 300px;
    border-top-width: 1px;
}

/* -------------------------------------------------------------
   11. Call To Action (CTA) Banner
   ------------------------------------------------------------- */
.cta-banner {
    background-color: var(--secondary);
    color: var(--white);
    padding: 80px 0;
}

.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-content h2 {
    font-size: 2.25rem;
    margin-bottom: 12px;
}

.cta-content p {
    color: #9CA3AF;
    font-size: 1.125rem;
    margin-bottom: 0;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* -------------------------------------------------------------
   12. Floating WhatsApp Widget
   ------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    color: var(--white);
    transition: transform var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* -------------------------------------------------------------
   13. Footer Section
   ------------------------------------------------------------- */
footer {
    background-color: var(--white);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-logo svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.footer-about p {
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #6B7280;
}

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

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: #6B7280;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9CA3AF;
}

/* -------------------------------------------------------------
   14. Forms & Inputs
   ------------------------------------------------------------- */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--secondary);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background-color: var(--white);
    box-shadow: var(--shadow-input);
    transition: border-color var(--transition-fast);
}

.form-input:focus {
    border-color: var(--primary);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* -------------------------------------------------------------
   15. Toast System Styles
   ------------------------------------------------------------- */
#toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background-color: var(--white);
    color: var(--secondary);
    border-left: 5px solid var(--primary);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
    transform: translateX(0);
}

.toast-success { border-left-color: var(--success); }
.toast-danger { border-left-color: var(--danger); }
.toast-warning { border-left-color: var(--warning); }

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

.toast-success .toast-icon { color: var(--success); }
.toast-danger .toast-icon { color: var(--danger); }
.toast-warning .toast-icon { color: var(--warning); }

.toast-content {
    flex-grow: 1;
    font-size: 0.9rem;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #9CA3AF;
}

/* -------------------------------------------------------------
   16. Loader Spinner Layout
   ------------------------------------------------------------- */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.spinner-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* -------------------------------------------------------------
   17. Custom Modal System
   ------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.modal-wrapper {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 600px;
    border: 1px solid var(--border);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.modal-overlay.show .modal-wrapper {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    margin-bottom: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #6B7280;
}

.modal-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border);
}

/* -------------------------------------------------------------
   18. Scheduling Wizard CSS Framework
   ------------------------------------------------------------- */
.scheduling-wizard {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-top: 30px;
}

.wizard-header {
    background-color: var(--secondary);
    color: var(--white);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wizard-header h3 {
    margin-bottom: 4px;
}

.wizard-header p {
    color: #9CA3AF;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.wizard-steps {
    display: flex;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border);
    padding: 15px 30px;
    overflow-x: auto;
    gap: 20px;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #9CA3AF;
    white-space: nowrap;
}

.step-indicator.active {
    color: var(--primary);
}

.step-indicator.completed {
    color: var(--secondary);
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background-color: var(--border);
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.step-indicator.active .step-num {
    background-color: var(--primary);
    color: var(--white);
}

.step-indicator.completed .step-num {
    background-color: var(--secondary);
    color: var(--white);
}

.wizard-content-panel {
    padding: 40px;
}

.wizard-step-panel {
    display: none;
}

.wizard-step-panel.active {
    display: block;
}

.wizard-footer {
    display: flex;
    justify-content: space-between;
    padding: 24px 40px;
    border-top: 1px solid var(--border);
    background-color: var(--bg-light);
}

/* Card Selection Layout */
.card-select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card-select-option {
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-select-option.selected {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.card-select-option svg {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    color: var(--primary);
}

.card-select-option h4 {
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.card-select-option p {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 0;
}

/* Review details template */
.review-block {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.review-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}

.review-row:last-child {
    border-bottom: none;
}

.review-label {
    font-weight: 600;
    color: #4B5563;
}

.review-val {
    font-weight: 700;
    color: var(--secondary);
}

/* -------------------------------------------------------------
   19. General Inner Pages (About, Policies, 404, 500)
   ------------------------------------------------------------- */
.inner-page-hero {
    background-color: var(--secondary);
    color: var(--white);
    padding: 60px 0;
}

.inner-page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.policy-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.policy-content h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 16px;
}

.policy-content p, .policy-content ul {
    margin-bottom: 20px;
}

.error-page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 40px 24px;
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
}

.error-page-wrapper h1 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.error-page-wrapper p {
    font-size: 1.125rem;
    max-width: 500px;
    margin-bottom: 30px;
}

/* -------------------------------------------------------------
   20. Responsive Media Queries
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
    h1 { font-size: 2.25rem; }
    .hero-content h1 { font-size: 2.75rem; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-content { order: 2; }
    .hero-image { order: 1; }
    .hero-actions { justify-content: center; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 40px 24px;
        transition: left var(--transition-normal);
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .coverage-box {
        grid-template-columns: 1fr;
    }
    
    .card-select-grid {
        grid-template-columns: 1fr;
    }
    
    .wizard-content-panel {
        padding: 24px 16px;
    }
    
    .wizard-footer {
        padding: 16px;
        flex-direction: column-reverse;
        gap: 12px;
    }
    
    .wizard-footer .btn {
        width: 100%;
    }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}
