/* === RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--medical-blue);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--medical-blue-dark);
}

ul {
    list-style: none;
}

/* === CSS VARIABLES === */
:root {
    --medical-blue: #1565C0;
    --medical-blue-dark: #0D47A1;
    --medical-blue-light: #1976D2;
    --sky-blue: #E3F2FD;
    --sky-accent: #BBDEFB;
    --bg-primary: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-section: #F1F5F9;
    --success-green: #2E7D32;
    --success-light: #E8F5E9;
    --danger-red: #C62828;
    --danger-light: #FFEBEE;
    --warning-amber: #E65100;
    --warning-light: #FFF3E0;
    --text-primary: #1A202C;
    --text-dark: #0F172A;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --border: #E2E8F0;
    --border-dark: #CBD5E0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-blue: 0 4px 20px rgba(21, 101, 192, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --max-width: 1200px;
    --header-height: 72px;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Bricolage Grotesque', sans-serif;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.25;
    font-weight: 700;
}

h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.25;
    font-weight: 600;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

h4 {
    font-size: 1.15rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* === UTILITIES === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.max-w-600 {
    max-width: 600px;
}

.max-w-700 {
    max-width: 700px;
}

.max-w-800 {
    max-width: 800px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.list-flex-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gap-10 {
    gap: 10px;
}

.gap-12 {
    gap: 12px;
}

.gap-20 {
    gap: 20px;
}

.gap-32 {
    gap: 32px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mt-12 {
    margin-top: 12px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.text-center {
    text-align: center;
}

.pb-24 {
    padding-bottom: 24px;
}

.p-4 {
    padding: 4px;
}

.py-4 {
    padding-top: 4px;
    padding-bottom: 4px;
}

.px-20 {
    padding-left: 20px;
    padding-right: 20px;
}

.py-12 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.px-24 {
    padding-left: 24px;
    padding-right: 24px;
}

.bg-white {
    background-color: white !important;
}

.border-none {
    border: none !important;
}

.outline-none {
    outline: none !important;
}

.flex-1 {
    flex: 1;
}

.align-center {
    align-items: center;
}

.ml-8 {
    margin-left: 8px;
}

.mr-8 {
    margin-right: 8px;
}

.border-radius-lg {
    border-radius: var(--radius-lg);
}

.text-white {
    color: white !important;
}

.text-white-85 {
    color: rgba(255, 255, 255, 0.85);
}

.text-primary {
    color: var(--medical-blue) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-success {
    color: var(--success-green) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.75rem;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.hidden {
    display: none !important;
}