/* ============================================================
   Spitex Medicare — fonts.css
   Font: Inter (self-hosted)
   ============================================================ */

   @font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ── Base ── */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Type scale ── */

h1, .h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h2, .h2 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

h3, .h3 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h4, .h4 {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.35;
}

h5, .h5 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

p {
    font-size: 1rem;
    line-height: 1.7;
}

/* CKEditor fix */
.small p { font-size: inherit !important; }

/* ── Responsive type scale ── */

@media (max-width: 991.98px) {
    h1, .h1 { font-size: 2.25rem; }
    h2, .h2 { font-size: 1.875rem; }
    h3, .h3 { font-size: 1.5rem; }
    h4, .h4 { font-size: 1.25rem; }
}

@media (max-width: 575.98px) {
    h1, .h1 { font-size: 1.875rem; }
    h2, .h2 { font-size: 1.5rem; }
    h3, .h3 { font-size: 1.25rem; }
}

/* ── Weight utilities ── */

.w-light    { font-weight: 300 !important; }
.w-regular  { font-weight: 400 !important; }
.w-medium   { font-weight: 500 !important; }
.w-semibold { font-weight: 600 !important; }
.w-bold     { font-weight: 700 !important; }

/* ── Letter-spacing ── */

.ls-sm { letter-spacing: 1px; }
.ls-md { letter-spacing: 1.5px; }
.ls-lg { letter-spacing: 2px; }

/* ── Overline style ── */

.overline {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.4 !important;
}

/* ── Button text ── */

.btn-text {
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ── Small text / Caption ── */

.caption {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--color-muted);
}

.text-small {
    font-size: 0.875rem;
    line-height: 1.6;
}