/* Osogbo Central Hospital: website styles. Hand-written, no framework. */
:root {
  --brand: #0a7b83;
  --brand-700: #075a61;
  --brand-800: #06454b;
  --brand-50: #e9f6f6;
  --brand-100: #d2eeee;
  --accent: #df2f6c;
  --accent-600: #c11f58;
  --accent-50: #fdeef3;
  --ink: #0f2230;
  --body: #34495a;
  --muted: #5e7182;
  --line: #e2eaee;
  --soft: #f4f8f9;
  --white: #fff;
  --ok: #15803d;
  --err: #b91c1c;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 34, 48, .06), 0 8px 24px rgba(15, 34, 48, .07);
  --shadow-lg: 0 20px 50px rgba(15, 34, 48, .14);
  --wrap: 1200px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; color: #fff; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; }

/* Section headings */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.head { max-width: 680px; margin-bottom: 2.6rem; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.12rem; color: var(--muted); }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.4rem; }
.head-row .head { margin-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: .97rem; line-height: 1.1; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(223, 47, 108, .28); }
.btn--primary:hover { background: var(--accent-600); color: #fff; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-700); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--brand); background: transparent; }
.btn--ghost:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brand-50); color: var(--ink); }
.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: .6rem 1rem; font-size: .9rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Top bar */
.topbar { background: var(--brand-800); color: #cfe7e8; font-size: .86rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1.5rem; padding: .5rem 0; }
.topbar a { color: #fff; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__group { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.topbar .pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(15, 34, 48, .06); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); }
.logo svg { width: 46px; height: 46px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong { font-size: 1.08rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.logo__text small { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: .2rem; }
.nav a, .nav__drop > button { display: inline-flex; align-items: center; gap: .25rem; padding: .55rem .8rem; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .95rem; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav a:hover, .nav__drop > button:hover, .nav a.is-active { color: var(--brand); background: var(--brand-50); }
.nav__drop { position: relative; }
.nav__menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: .4rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav__menu a { display: flex; width: 100%; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu, .nav__drop.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.header__cta { display: flex; align-items: center; gap: .6rem; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .icon { width: 24px; height: 24px; }

@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .header__cta .btn--primary { display: none; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: .8rem 1.25rem 1.4rem; max-height: calc(100dvh - 76px); overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a, .nav__drop > button { padding: .85rem .6rem; width: 100%; justify-content: space-between; border-radius: 8px; font-size: 1.02rem; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 .8rem; display: none; min-width: 0; }
  .nav__drop.is-open .nav__menu { display: block; }
  .nav .btn--primary { margin-top: .8rem; }
}
@media (min-width: 1081px) { .nav .nav__mobile-only { display: none; } }
.nav a, .nav__drop > button, .btn, .logo__text strong { white-space: nowrap; }
.logo__img { width: auto; height: 56px; flex: none; }
.header .wrap { width: min(100% - 2.5rem, 1380px); }
.header .logo { flex: none; }
.hero--slider .hero__slide > .wrap { padding-bottom: clamp(9rem, 14vw, 11rem); }
.footer .logo__img { height: 72px; }
.nav a.nav__portal { border: 1.5px solid var(--brand); color: var(--brand); margin-left: .3rem; padding: .45rem .8rem; border-radius: 999px; }
.nav a.nav__portal:hover { background: var(--brand); color: #fff; }
.nav__portal .icon { width: 14px; height: 14px; }
@media (min-width: 1081px) and (max-width: 1400px) {
  .nav a, .nav__drop > button { padding: .5rem .5rem; font-size: .9rem; }
  .nav a.nav__portal { padding: .4rem .7rem; }
  .header__cta .btn { padding: .7rem 1rem; font-size: .9rem; }
  .logo__text small { display: none; }
  .logo__img { height: 50px; }
}
@media (min-width: 1081px) and (max-width: 1240px) {
  .logo__text { display: none; }
  .header__cta .btn .icon { display: none; }
}
@media (max-width: 1080px) {
  .nav a.nav__portal { margin: .5rem 0 0; justify-content: center; }
}
@media (max-width: 560px) { .logo__text small { display: none; } .topbar .hide-sm { display: none; } }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--brand-800); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5, 52, 57, .95) 0%, rgba(6, 69, 75, .86) 42%, rgba(6, 69, 75, .35) 100%); }
.hero .wrap { padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(6rem, 12vw, 9rem); }
.hero__content { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero h1 span { color: #ffb3cd; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #d9eeef; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.badge { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: .85rem; font-weight: 600; margin-bottom: 1.4rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.2rem; font-size: .92rem; color: #d9eeef; }
.hero__trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust .icon { color: #7ee0c3; }

/* Hero slider: slides stack in one grid cell, so the tallest sets the height */
.hero--slider { display: grid; }
.hero__slide { grid-area: 1 / 1; position: relative; isolation: isolate; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero--slider::before { display: none; }
.hero__slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5, 52, 57, .95) 0%, rgba(6, 69, 75, .84) 42%, rgba(6, 69, 75, .3) 100%); }
.hero__slide .hero__media img { transform: scale(1.06); transition: transform 7s ease-out; }
.hero__slide.is-active .hero__media img { transform: scale(1); }
.hero__title { color: #fff; font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
.hero__title span { color: #ffb3cd; }
.hero__controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 6.5rem; pointer-events: none; }
.hero__controls .wrap { display: flex; align-items: center; gap: .8rem; padding: 0; }
.hero__controls button { pointer-events: auto; }
.hero__dots { display: flex; gap: .5rem; }
.hero__dot { width: 34px; height: 6px; border-radius: 6px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background .3s, width .3s; }
.hero__dot.is-active { background: #fff; width: 52px; }
.hero__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.hero__arrow:hover { background: rgba(255, 255, 255, .22); }
@media (max-width: 860px) { .hero__controls { bottom: 5.4rem; } }
@media (prefers-reduced-motion: reduce) { .hero__slide .hero__media img { transform: none; } }

/* Quick cards overlapping the hero */
.quick { position: relative; z-index: 2; margin-top: -4.5rem; }
.quick__grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.quick__item { display: flex; gap: 1rem; padding: 1.6rem 1.7rem; color: var(--body); border-right: 1px solid var(--line); }
.quick__item:last-child { border-right: 0; }
.quick__item:first-child { background: var(--accent); color: #fff; }
.quick__item:first-child h3, .quick__item:first-child a { color: #fff; }
.quick__item h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.quick__item p { margin: 0; font-size: .93rem; }
.quick__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.quick__item:first-child .quick__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.quick__big { font-size: 1.15rem; font-weight: 800; }
@media (max-width: 860px) { .quick__grid { grid-template-columns: 1fr; } .quick__item { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Page hero (inner pages) */
.page-hero { position: relative; color: #fff; background: var(--brand-800); overflow: hidden; isolation: isolate; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5, 52, 57, .94), rgba(6, 69, 75, .72)); }
.page-hero .wrap { padding: clamp(3rem, 7vw, 5rem) 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .35em; }
.page-hero p { color: #d9eeef; max-width: 640px; margin: 0; font-size: 1.08rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .88rem; color: #b6dadb; }
.crumbs a { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }

/* Grids & cards */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-50); display: grid; place-items: center; margin-bottom: 1.1rem; color: var(--brand); }
.card__icon img { width: 32px; height: 32px; object-fit: contain; }
.card__icon .icon { width: 28px; height: 28px; }
.card .link-arrow { margin-top: 1rem; font-size: .93rem; }
a.card { display: block; color: inherit; }

/* Service visuals: photo with icon badge, or gradient icon card */
.svc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--brand-700), var(--brand)); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 69, 75, 0) 55%, rgba(6, 69, 75, .45)); pointer-events: none; }
a:hover .svc-media img { transform: scale(1.05); }
.svc-badge { position: absolute; left: 1rem; bottom: 1rem; z-index: 1; width: 50px; height: 50px; border-radius: 14px; background: #fff; color: var(--accent); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(6, 30, 40, .2); }
.svc-badge .icon { width: 26px; height: 26px; }
.svc-media--plain { display: grid; place-items: center; color: #fff; isolation: isolate; }
.svc-media--plain::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .08); right: -18%; top: -30%; z-index: -1; }
.svc-media--plain::after { display: none; }
.svc-media--plain > .icon { width: 30%; height: auto; max-width: 96px; aspect-ratio: 1; stroke-width: 1.4; opacity: .95; }
.svc-media--accent { background: linear-gradient(135deg, var(--accent-600), #f0709b); }
.menu-list .svc-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-50); color: var(--brand); display: inline-grid; place-items: center; flex: none; }
.menu-list .svc-ico .icon { width: 17px; height: 17px; }
.menu-list a.is-active .svc-ico, .menu-list a:hover .svc-ico { background: var(--brand); color: #fff; }
.menu-list .svc-label { display: inline-flex; align-items: center; gap: .65rem; }
.article__img .svc-media { aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .article__img .svc-media { aspect-ratio: 16 / 10; } }
.card__icon--lg { width: 60px; height: 60px; border-radius: 18px; background: var(--accent-50); color: var(--accent); }
.card--hover:hover .card__icon--lg { background: var(--accent); color: #fff; }
.card__icon--lg .icon { width: 30px; height: 30px; }

/* Photo tiles with caption ("everything under one roof") */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 1rem; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; background: var(--brand-700); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 30, 36, 0) 35%, rgba(4, 30, 36, .85)); }
.tile:hover img { transform: scale(1.05); }
.tile__text { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; }
.tile, .tile:hover { color: #fff; }
.tile__text strong { display: block; color: #fff; margin: 0 0 .2rem; font-size: 1.1rem; }
.tile__text span { display: block; color: #d6ecee; font-size: .9rem; }

/* "Where should I go?" guide */
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 760px) { .guide { grid-template-columns: 1fr; } }
.guide a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--body); transition: .2s; }
.guide a:hover { border-color: var(--brand-100); box-shadow: var(--shadow); color: var(--body); transform: translateY(-2px); }
.guide .svc-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-50); color: var(--accent); display: grid; place-items: center; flex: none; }
.guide small { display: block; color: var(--muted); font-size: .85rem; }
.guide strong { color: var(--brand); display: inline-flex; align-items: center; gap: .3rem; }
.guide .icon-end { margin-left: auto; color: var(--muted); }

/* Insurance / partner band */
.band { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: calc(var(--radius) + 4px); padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 4vw, 2.4rem); }
.band__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.band__icon .icon { width: 32px; height: 32px; }
.band h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
.band p { margin: 0; color: var(--body); }
.band__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.band__chips span { background: #fff; border: 1px solid var(--brand-100); color: var(--brand-700); border-radius: 999px; padding: .2rem .75rem; font-size: .8rem; font-weight: 700; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; text-align: left; } }

/* Department profile panels */
.profile { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 2rem 0; }
@media (max-width: 640px) { .profile { grid-template-columns: 1fr; } }
.profile__panel { border-radius: var(--radius); padding: 1.5rem; background: var(--soft); border: 1px solid var(--line); }
.profile__panel--accent { background: var(--accent-50); border-color: #f8cfdd; }
.profile__panel h3 { display: flex; gap: .55rem; align-items: center; font-size: 1.05rem; }
.profile__panel h3 .icon { color: var(--brand); }
.profile__panel--accent h3 .icon { color: var(--accent); }
.profile__panel .checks { margin: .6rem 0 0; }
.tagline { font-size: 1.2rem; color: var(--brand-700); font-weight: 700; margin-bottom: 1rem; }

/* Contact channels */
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .channels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .channels { grid-template-columns: 1fr; } }
.channel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: .35rem; color: var(--body); transition: .2s; }
a.channel:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--body); }
.channel .card__icon { margin-bottom: .5rem; }
.channel h3 { margin: 0; font-size: 1.02rem; }
.channel p { margin: 0; font-size: .92rem; color: var(--muted); }
.channel strong { color: var(--brand); margin-top: auto; padding-top: .4rem; }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.media-frame { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; background: var(--brand-50); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-badge { position: absolute; left: 1.2rem; bottom: 1.2rem; background: #fff; border-radius: 14px; padding: .9rem 1.1rem; box-shadow: var(--shadow); display: flex; gap: .8rem; align-items: center; }
.media-badge strong { display: block; color: var(--ink); font-size: 1.5rem; line-height: 1; }
.media-badge small { color: var(--muted); }
.play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--accent); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 12px rgba(255, 255, 255, .25); transition: transform .2s; }
.play:hover { transform: scale(1.06); }
.play .icon { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 4px; }
.checks { list-style: none; padding: 0; margin: 1.3rem 0; display: grid; gap: .65rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; }
.checks .icon { color: var(--brand); margin-top: .2rem; width: 1.1em; height: 1.1em; }
.checks--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .checks--2 { grid-template-columns: 1fr; } }
.quote-line { border-left: 4px solid var(--accent); padding: .2rem 0 .2rem 1rem; color: var(--ink); font-weight: 700; margin: 1.4rem 0; }
.signature { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; }
.signature img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.signature strong { color: var(--ink); display: block; }
.signature small { color: var(--muted); }

/* Stats band */
.stats { background: linear-gradient(120deg, var(--brand-700), var(--brand)); color: #fff; border-radius: calc(var(--radius) + 6px); padding: 2.4rem clamp(1.4rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.stats strong { display: block; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.05; font-weight: 800; }
.stats span { color: #cfe9ea; font-size: .92rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats > :last-child { grid-column: 1 / -1; } }

/* Facility highlights */
.feature { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--body); transition: .25s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--body); }
.feature__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--accent-50); color: var(--accent); display: grid; place-items: center; flex: none; }
.feature h3 { font-size: 1.04rem; margin-bottom: .2rem; }
.feature p { margin: 0; font-size: .92rem; color: var(--muted); }

/* Service lists */
.list-card { background: #fff; border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--line); }
.list-card h3 { display: flex; align-items: center; gap: .6rem; }
.list-card h3 .icon { color: var(--accent); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 1.8rem 1.6rem 1.6rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 1.6rem; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(223, 47, 108, .35); }
.step h3 { margin-top: .4rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* People */
.person { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .25s; }
.person:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.person__photo { aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--brand-50), var(--brand-100)); overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.person__body { padding: 1.2rem 1.3rem 1.4rem; }
.person__body h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.person__cred { font-size: .8rem; font-weight: 700; color: var(--accent); letter-spacing: .02em; margin-bottom: .35rem; }
.person__role { font-size: .92rem; color: var(--muted); margin: 0; }

/* Testimonials */
.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3rem) / 3); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .3rem .1rem 1rem; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
@media (max-width: 1000px) { .slider__track { grid-auto-columns: calc((100% - 1.5rem) / 2); } }
@media (max-width: 640px) { .slider__track { grid-auto-columns: 88%; } }
.slider__nav { display: flex; gap: .5rem; }
.slider__nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: .2s; }
.slider__nav button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.testimonial { background: #fff; border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--line); display: flex; flex-direction: column; height: 100%; }
.testimonial__stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: .8rem; }
.testimonial blockquote { margin: 0 0 1.3rem; color: var(--ink); font-size: 1rem; flex: 1; }
.testimonial footer { display: flex; align-items: center; gap: .8rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.testimonial footer strong { display: block; color: var(--ink); line-height: 1.2; }
.testimonial footer small { color: var(--muted); }

/* FAQ accordion (native <details>) */
.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--brand); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq__answer { padding: 0 1.3rem 1.2rem; color: var(--body); }
.faq__answer > :last-child { margin-bottom: 0; }

/* Blog */
.post { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; color: var(--body); transition: .25s; }
.post:hover { box-shadow: var(--shadow); transform: translateY(-4px); color: var(--body); }
.post__img { aspect-ratio: 16 / 10; background: var(--brand-50); overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post__img img { transform: scale(1.04); }
.post__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post__date { font-size: .82rem; color: var(--muted); display: inline-flex; gap: .4rem; align-items: center; margin-bottom: .5rem; }
.post h3 { font-size: 1.1rem; margin-bottom: .8rem; }
.post .link-arrow { margin-top: auto; font-size: .92rem; }
.article { max-width: 780px; margin-inline: auto; }
.article__img { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow); }
.prose { font-size: 1.06rem; color: var(--body); overflow-wrap: anywhere; }
.prose img { border-radius: var(--radius-sm); margin: 1.2rem 0; height: auto; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose a { text-decoration: underline; }

/* Layout with sidebar */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2.5rem; align-items: start; }
@media (max-width: 980px) { .with-aside { grid-template-columns: 1fr; } }
.aside { display: grid; gap: 1.5rem; position: sticky; top: 100px; }
@media (max-width: 980px) { .aside { position: static; } }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.aside-card h3 { font-size: 1.05rem; }
.aside-card--brand { background: var(--brand-800); color: #d9eeef; border: 0; }
.aside-card--brand h3 { color: #fff; }
.aside-card--brand a:not(.btn) { color: #fff; }
.menu-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
.menu-list a { display: flex; justify-content: space-between; align-items: center; padding: .6rem .8rem; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.menu-list a:hover, .menu-list a.is-active { background: var(--brand-50); color: var(--brand); }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .2); }
.hours li:last-child { border-bottom: 0; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .35rem; }
.field input, .field textarea, .field select { width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.field .error { color: var(--err); font-size: .85rem; margin-top: .3rem; display: block; }
.field--invalid input, .field--invalid textarea { border-color: var(--err); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .86rem; color: var(--muted); margin: 0; }
.form-card { background: #fff; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 4vw, 2.6rem); }
.alert { padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; display: flex; gap: .6rem; align-items: flex-start; }
.alert--success { background: #ecfdf3; color: var(--ok); border: 1px solid #bbf7d0; }
.alert--error { background: #fef2f2; color: var(--err); border: 1px solid #fecaca; }
.notice { display: flex; gap: .7rem; align-items: center; background: var(--accent-50); color: var(--accent-600); border-radius: 12px; padding: .8rem 1rem; font-weight: 600; font-size: .93rem; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .quick__icon { width: 46px; height: 46px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a, .contact-list span { color: var(--body); display: block; }
.map { border: 0; width: 100%; height: 420px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--brand-50); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery button { padding: 0; border: 0; background: var(--brand-50); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; display: block; width: 100%; }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.05); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(6, 18, 26, .88); }
.lightbox img, .lightbox video { max-height: 86vh; width: auto; margin: auto; border-radius: 12px; }
.lightbox__close { position: fixed; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; list-style: none; padding: 0; margin: 2.5rem 0 0; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 .8rem; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); font-weight: 700; background: #fff; }
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .is-current span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .is-disabled span { opacity: .45; }

/* CTA band */
.cta { position: relative; border-radius: calc(var(--radius) + 8px); background: var(--accent); color: #fff; padding: clamp(2rem, 5vw, 3.4rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; overflow: hidden; isolation: isolate; }
.cta::after { content: ""; position: absolute; width: 380px; height: 380px; right: -90px; top: -160px; border-radius: 50%; background: rgba(255, 255, 255, .1); z-index: -1; }
.cta h2 { color: #fff; margin-bottom: .3rem; }
.cta p { margin: 0; color: #ffe1eb; max-width: 560px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.cta__phone { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 800; color: #fff; display: inline-flex; align-items: center; gap: .6rem; }
.cta__phone:hover { color: #fff; }

/* Prose blocks for info pages */
.info-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 1.8rem; }
.info-card h3 { display: flex; gap: .65rem; align-items: center; }
.info-card h3 .icon { color: var(--accent); }
.info-card ul { margin: .6rem 0 0; color: var(--body); }
.info-card li { margin-bottom: .35rem; }
.symptom { text-align: center; padding: 1.5rem 1rem; }
.symptom .card__icon { margin-inline: auto; background: var(--accent-50); color: var(--accent); }
.numbered { counter-reset: n; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .8rem; }
.numbered li { counter-increment: n; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; display: flex; gap: .7rem; align-items: center; font-weight: 600; color: var(--ink); }
.numbered li::before { content: counter(n); width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: .9rem; }

/* Empty state */
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); background: var(--soft); border-radius: var(--radius); }

/* Footer */
.footer { background: #071c24; color: #a9bec7; padding-top: clamp(3.5rem, 7vw, 5rem); font-size: .95rem; }
.footer a { color: #d4e4ea; }
.footer a:hover { color: #fff; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer .logo, .footer .logo__text strong { color: #fff; }
.footer .logo__text small { color: #8fb0ba; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.footer__contact li { display: flex; gap: .7rem; }
.footer__contact .icon { color: var(--accent); margin-top: .2rem; }
.footer__accred { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.footer__accred span { border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: .3rem .8rem; font-size: .8rem; color: #d4e4ea; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding: 1.4rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .86rem; }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 34, 48, .08); }
  .mobile-bar .btn { padding: .8rem .6rem; font-size: .93rem; }
  body { padding-bottom: 76px; }
}

/* Back to top */
.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 55; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 760px) { .to-top { bottom: 90px; } }

/* Reveal-on-scroll (progressive: content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .center { text-align: center; }

/* ==========================================================================
   Modern layer (v2): typography, softer surfaces, floating hero, glass cards.
   Overrides the base styles above.
   Font: Plus Jakarta Sans, SIL Open Font License 1.1 (self-hosted).
   ========================================================================== */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 24px;
  --radius-sm: 16px;
  --soft: #f3f8f8;
  --shadow: 0 1px 2px rgba(15, 34, 48, .04), 0 12px 32px -8px rgba(15, 34, 48, .12);
  --shadow-lg: 0 30px 60px -20px rgba(6, 50, 56, .35);
  --grad-brand: linear-gradient(135deg, #0a7b83 0%, #0b5f74 100%);
  --grad-accent: linear-gradient(135deg, #e8417b 0%, #c11f58 100%);
}
body { font-size: 1.02rem; letter-spacing: -.005em; }
h1, h2, h3 { letter-spacing: -.025em; }
h2 { font-weight: 800; }
.lead { font-size: 1.14rem; line-height: 1.7; }

/* Section labels become pills */
.eyebrow { background: var(--accent-50); color: var(--accent-600); padding: .38rem .85rem; border-radius: 999px; letter-spacing: .08em; font-size: .72rem; }
.head--center .eyebrow::after { display: none; }
.eyebrow::before { width: 6px; height: 6px; border-radius: 50%; }
.section--soft .eyebrow { background: #fff; }

/* Soft ambient backgrounds */
.section--soft { background: radial-gradient(60rem 30rem at 100% 0%, rgba(10, 123, 131, .07), transparent 60%), radial-gradient(50rem 26rem at 0% 100%, rgba(223, 47, 108, .05), transparent 60%), var(--soft); }

/* Buttons */
.btn { padding: .9rem 1.5rem; }
.btn--sm { padding: .6rem 1rem; }
.btn--primary { background: var(--grad-accent); box-shadow: 0 12px 24px -8px rgba(223, 47, 108, .55); }
.btn--primary:hover { background: var(--grad-accent); filter: brightness(1.06); box-shadow: 0 16px 30px -10px rgba(223, 47, 108, .6); }
.btn--brand { background: var(--grad-brand); }
.btn--brand:hover { filter: brightness(1.08); }

/* Header: frosted glass */
.header { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); }
.nav a, .nav__drop > button { border-radius: 999px; }

/* Floating hero */
.hero { margin: 0 clamp(.5rem, 1.6vw, 1.25rem); border-radius: 0 0 clamp(22px, 3vw, 40px) clamp(22px, 3vw, 40px); }
.hero__slide::before { background: linear-gradient(100deg, rgba(4, 44, 50, .94) 0%, rgba(6, 64, 72, .8) 45%, rgba(6, 64, 72, .15) 100%); }
.badge { background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.hero__float { position: absolute; z-index: 2; right: max(2rem, calc((100% - 1200px) / 2)); top: 50%; transform: translateY(-62%); display: grid; gap: .85rem; width: 300px; }
.glass { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-radius: 20px; padding: 1rem 1.1rem; color: #fff; display: flex; gap: .85rem; align-items: center; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45); }
.glass strong { display: block; font-size: .98rem; }
.glass small { color: #d4ecee; font-size: .82rem; line-height: 1.35; display: block; }
.glass a { color: #fff; }
.glass__icon { width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .92); color: var(--accent); display: grid; place-items: center; flex: none; }
.glass__icon--brand { color: var(--brand); }
.glass .live { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8ff0c9; }
.glass .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: pulse 2s infinite; }
@media (max-width: 1180px) { .hero__float { display: none; } }

/* Quick actions: lift and soften */
.quick__grid { border-radius: var(--radius); box-shadow: 0 30px 60px -24px rgba(6, 50, 56, .35); }
.quick__item:first-child { background: var(--grad-accent); }

/* Cards */
.card, .feature, .person, .post, .testimonial, .list-card, .info-card, .step, .aside-card, .channel, .profile__panel { border-radius: var(--radius); border-color: #e6eef1; }
.card__icon { background: linear-gradient(135deg, var(--brand-50), #dff3f3); }
.card__icon--lg { background: linear-gradient(135deg, var(--accent-50), #fde3ec); }
.card--hover:hover, .feature:hover, .person:hover, .post:hover { box-shadow: var(--shadow); }
.media-frame { border-radius: 32px; }
.stats { background: var(--grad-brand); border-radius: 32px; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -140px; top: -220px; background: rgba(255, 255, 255, .07); }
.cta { background: var(--grad-accent); border-radius: 32px; }
.band { border-radius: 28px; background: linear-gradient(135deg, #eaf7f7, #f6fbfb); }
.footer { background: radial-gradient(50rem 24rem at 90% 0%, rgba(10, 123, 131, .25), transparent 60%), #06181f; }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 1rem; }
.bento__item { position: relative; border-radius: var(--radius); padding: 1.6rem; background: #fff; border: 1px solid #e6eef1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; color: var(--body); }
.bento__item h3 { margin: .2rem 0 .35rem; font-size: 1.15rem; }
.bento__item p { margin: 0; color: var(--muted); font-size: .95rem; }
.bento__item .card__icon { margin-bottom: auto; }
.bento__item--wide { grid-column: span 2; }
.bento__item--tall { grid-row: span 2; }
.bento__item--photo { color: #fff; border: 0; }
.bento__item--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bento__item--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 30, 36, .05) 30%, rgba(4, 30, 36, .88)); }
.bento__item--photo h3 { color: #fff; }
.bento__item--photo p { color: #d6ecee; }
.bento__item--brand { background: var(--grad-brand); color: #fff; border: 0; }
.bento__item--brand h3 { color: #fff; }
.bento__item--brand p { color: #d2eeee; }
.bento__item--brand .card__icon { background: rgba(255, 255, 255, .15); color: #fff; }
.bento__big { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento__item--wide { grid-column: auto; } .bento__item--tall { grid-row: auto; min-height: 260px; } }

/* Digital health */
.device { position: relative; border-radius: 28px; padding: 1.4rem; background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate; }
.device::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; bottom: -180px; background: rgba(255, 255, 255, .08); z-index: -1; }
.device__bar { display: flex; gap: .4rem; margin-bottom: 1rem; }
.device__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.device__title { font-weight: 800; font-size: 1.05rem; margin-bottom: .9rem; display: flex; justify-content: space-between; align-items: center; }
.device__title small { font-weight: 600; font-size: .75rem; color: #bfe6e6; }
.device__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.device__tile { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; padding: .9rem; display: flex; gap: .65rem; align-items: center; font-weight: 700; font-size: .9rem; }
.device__tile .icon { width: 20px; height: 20px; color: #ffd0e0; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0; }
.chips span { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 999px; background: #fff; border: 1px solid #e3edf0; font-size: .88rem; font-weight: 600; color: var(--ink); }
.chips .icon { width: 16px; height: 16px; color: var(--brand); }
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.module { background: #fff; border: 1px solid #e6eef1; border-radius: 20px; padding: 1.3rem; }
.module h3 { font-size: 1rem; display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.module h3 .svc-ico { width: 36px; height: 36px; border-radius: 11px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.module h3 .svc-ico .icon { width: 18px; height: 18px; }
.module ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .9rem; }
.module li { margin-bottom: .2rem; }
.portal-card { border-radius: 28px; padding: clamp(1.6rem, 3vw, 2.4rem); border: 1px solid #e6eef1; background: #fff; height: 100%; display: flex; flex-direction: column; }
.portal-card--patient { background: linear-gradient(160deg, #fff 40%, var(--accent-50)); }
.portal-card--staff { background: linear-gradient(160deg, #fff 40%, var(--brand-50)); }
.portal-card .card__icon { width: 62px; height: 62px; border-radius: 18px; }
.portal-card .checks { flex: 1; }
.portal-card .btn { align-self: flex-start; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: var(--brand); color: #fff; margin-bottom: .8rem; align-self: flex-start; }
.tag--accent { background: var(--accent); }

/* Health tips */
.tip { background: #fff; border: 1px solid #e6eef1; border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; }
.tip h3 { display: flex; gap: .6rem; align-items: center; }
.tip h3 .svc-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-50); color: var(--accent); display: grid; place-items: center; flex: none; }
.tip .checks { margin: .4rem 0 1rem; font-size: .95rem; }
.tip__see { margin-top: auto; background: var(--brand-50); color: var(--brand-700); border-radius: 14px; padding: .75rem .9rem; font-size: .88rem; font-weight: 600; display: flex; gap: .5rem; }
.tip__see .icon { flex: none; margin-top: .15rem; }
.disclaimer { font-size: .88rem; color: var(--muted); background: var(--soft); border-radius: 14px; padding: 1rem 1.2rem; }

/* Mobile safety: grid/flex children may shrink below their content width,
   and long emails/URLs wrap instead of widening the page. */
.split > *, .grid > *, .with-aside > *, .bento > *, .footer__grid > *, .channels > * { min-width: 0; }
@media (max-width: 980px) { .with-aside { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.contact-list a, .contact-list span, .footer a, .channel strong, .topbar a, .aside-card a:not(.btn) { overflow-wrap: anywhere; }
@media (max-width: 420px) { .hero__actions .btn { white-space: normal; } }
.device__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.device__tile { min-width: 0; overflow-wrap: anywhere; }
.prose, .faq__answer { overflow-wrap: anywhere; }
.prose *, .faq__answer * { max-width: 100%; }
@media (max-width: 420px) {
  .header .wrap { gap: .5rem; }
  .logo { gap: .5rem; min-width: 0; flex: 1 1 auto; }
  .header .logo { flex: 1 1 auto; }
  .logo__img { height: 44px; }
  .logo__text strong { white-space: normal; font-size: .95rem; line-height: 1.15; }
  .device__tile { padding: .7rem; font-size: .82rem; gap: .45rem; }
}
