/* BoMedAC® – bold & modern design. Fonts self-hosted (no Google requests). */
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --navy-900: #061e33;
  --navy: #0b2a3f;
  --navy-700: #0d3a57;
  --teal: #0eb7bb;
  --teal-soft: #d9f5f6;
  --green: #3fae2a;
  --green-dark: #037e04;
  --link: #0a5c7a;
  --bg: #f3f7f9;
  --surface: #ffffff;
  --ink: #0b2a3f;
  --muted: #4a6070;
  --rule: #d8e3e8;
  --grad: linear-gradient(90deg, var(--teal), var(--green));
  --display: "Poppins", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 42, 63, .06), 0 8px 24px rgba(11, 42, 63, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 .55em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 500; }
p, ul, ol { margin: 0 0 1em; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.3em; }
.prose li { margin-bottom: .4em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
section { padding: 5rem 0; }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font: 600 .9rem/1 var(--sans); color: var(--green-dark); margin-bottom: .9rem; }
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--grad); }
.tint { background: var(--surface); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; align-items: center; text-decoration: none; color: var(--ink); margin-right: auto; line-height: 1.1; }
.brand img { grid-row: span 2; width: 52px; height: 52px; }
.brand b { font: 700 1.45rem/1 var(--display); color: var(--green-dark); align-self: end; letter-spacing: -.01em; }
.brand span { font: 600 .78rem/1.3 var(--sans); color: var(--navy); align-self: start; }
.reg { font-size: .5em; vertical-align: super; line-height: 0; font-weight: 500; margin-left: 1px; }
.nav { display: flex; gap: 1.6rem; align-items: center; font: 500 .98rem/1 var(--display); }
.nav a { color: var(--navy); text-decoration: none; padding: .5rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.lang a { font: 600 .82rem/1 var(--sans); color: var(--muted); border: 1px solid var(--rule); border-radius: 99px; padding: .35rem .65rem; text-decoration: none; }
.lang a::after { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font: 600 1rem/1.2 var(--display); padding: .95rem 1.5rem; border-radius: 99px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--green); color: var(--navy-900); box-shadow: 0 6px 18px rgba(63, 174, 42, .3); }
.btn-primary:hover { background: #4fc23a; color: var(--navy-900); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn.small { padding: .65rem 1.1rem; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.arrow { width: 18px; height: 18px; }

/* Dark bands (hero, page heads, CTA) */
.dark { position: relative; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; }
.dark::before, .dark::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; }
.dark::before { width: 520px; height: 520px; right: -140px; top: -180px; background: rgba(14, 183, 187, .45); }
.dark::after { width: 420px; height: 420px; left: -160px; bottom: -220px; background: rgba(63, 174, 42, .35); }
.dark h1, .dark h2 { color: #fff; }
.dark .lede, .dark p { color: #cfe2ea; }
.dark a:not(.btn) { color: #fff; }

.hero { padding: 5.5rem 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.chip { font: 600 .82rem/1 var(--sans); padding: .5rem .8rem; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual img { width: min(360px, 80%); height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }
.hero-visual::before { content: ""; position: absolute; width: min(440px, 98%); aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .25); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4.5rem; border-top: 1px solid rgba(255, 255, 255, .15); }
.stat { padding: 1.8rem 1.25rem 2rem 0; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .15); }
.stat b { display: block; font: 700 2.1rem/1.1 var(--display); color: #fff; }
.stat span { font-size: .93rem; color: #9fd8dc; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { position: relative; background: var(--surface); border-radius: var(--radius); padding: 2rem 1.75rem 1.75rem; box-shadow: var(--shadow); border: 1px solid var(--rule); display: flex; flex-direction: column; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .5rem; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font: 600 .98rem/1 var(--display); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; color: var(--link); }
.card .more:hover { color: var(--navy); }
.icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-700), var(--navy)); color: var(--teal); margin-bottom: 1.25rem; }
.icon svg { width: 28px; height: 28px; }
.when { font: 600 .85rem/1.3 var(--sans); color: var(--green-dark); margin-bottom: .6rem; }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case { background: var(--surface); border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--rule); box-shadow: var(--shadow); }
.case .tag { display: inline-block; font: 600 .78rem/1 var(--sans); background: var(--teal-soft); color: var(--navy); padding: .45rem .7rem; border-radius: 99px; margin-bottom: 1rem; }
.case .period { font-size: .88rem; color: var(--muted); margin-bottom: .4rem; }
.case h3 { font-size: 1.15rem; font-weight: 700; }
.case p { color: var(--muted); font-size: .97rem; }
.case ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.case li { position: relative; padding-left: 1.4rem; margin-bottom: .5rem; }
.case li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.cases.full { grid-template-columns: 1fr; }
.cases.full .case { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; }

/* Therapy areas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.area { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 1.2rem 1.25rem; }
.area .icon { width: 46px; height: 46px; border-radius: 12px; margin: 0; flex: none; background: var(--teal-soft); color: var(--navy); }
.area .icon svg { width: 24px; height: 24px; }
.area h3 { font-size: 1.05rem; font-weight: 700; margin: .1rem 0 .25rem; }
.area p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* Models */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.model { border-left: 4px solid var(--teal); padding: .25rem 0 .25rem 1.25rem; }
.model h3 { font-weight: 700; margin-bottom: .3rem; }
.model p { color: var(--muted); margin: 0 0 .3rem; font-size: .97rem; }
.model small { font: 600 .85rem/1.3 var(--sans); color: var(--green-dark); }

/* Founder */
.founder { display: grid; grid-template-columns: 320px 1fr; gap: 3.5rem; align-items: center; }
.portrait-wrap { position: relative; width: 300px; aspect-ratio: 1; border-radius: 50%; padding: 6px; background: var(--grad); }
.portrait { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--navy); display: grid; place-items: center; font: 700 4rem/1 var(--display); color: #fff; }
.quote { font: 500 1.45rem/1.4 var(--display); color: var(--navy); margin: 0 0 1.2rem; }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1.5rem; }
.badge { font: 600 .82rem/1 var(--sans); padding: .55rem .85rem; border-radius: 99px; background: var(--bg); border: 1px solid var(--rule); color: var(--navy); }
.creds { columns: 2; column-gap: 2rem; padding-left: 1.1rem; }
.creds li { break-inside: avoid; }

/* CTA band */
.cta-band { padding: 4.5rem 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta-inner h2 { margin-bottom: .4rem; }
.cta-inner p { margin: 0; max-width: 56ch; }

/* Inner pages */
.page-head { padding: 4.5rem 0 4rem; }
.crumbs { font-size: .9rem; color: #9fd8dc; margin-bottom: 1.2rem; }
.crumbs a { color: #cfe2ea; }
.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.aside { position: sticky; top: 100px; background: var(--surface); border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--rule); box-shadow: var(--shadow); }
.aside::before { content: ""; display: block; height: 4px; width: 48px; border-radius: 2px; background: var(--grad); margin-bottom: 1rem; }
.aside h2 { font-size: 1.15rem; }
.aside ul { padding-left: 1.1rem; margin: 0; }
.aside li { margin-bottom: .4rem; }
.panel { background: var(--surface); border-radius: var(--radius); padding: 2.5rem; border: 1px solid var(--rule); box-shadow: var(--shadow); }
.note { border-left: 4px solid var(--teal); background: var(--surface); padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; font-size: .97rem; margin-top: 2rem; }
.article-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.article-list li { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem 1.75rem; box-shadow: var(--shadow); }
.article-list h2 { font-size: 1.25rem; margin-bottom: .35rem; }
.article-list h2 a { text-decoration: none; color: var(--navy); }
.article-list h2 a:hover { color: var(--link); text-decoration: underline; }
.article-list p { color: var(--muted); margin: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 3.2rem; margin-bottom: 1.1rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 .95rem/1 var(--display); }

/* Footer */
.site-footer { background: var(--navy-900); color: #b9cdd6; padding: 4rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2 { font: 600 1rem/1.3 var(--display); color: #fff; margin-bottom: .8rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a, .linkbtn { color: #e3eef2; }
.foot-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.foot-brand img { width: 44px; height: 44px; }
.foot-brand b { font: 700 1.3rem/1 var(--display); color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; color: #8fa9b5; }
.linkbtn { background: none; border: 0; padding: 2px 0; min-height: 24px; font: inherit; text-decoration: underline; cursor: pointer; text-underline-offset: .2em; }

/* Consent */
.consent { position: fixed; inset: auto 1rem 1rem auto; max-width: 460px; background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 20px 50px rgba(6, 30, 51, .3); z-index: 60; border: 1px solid var(--rule); }
.consent[hidden] { display: none; }
.consent h2 { font: 700 1.1rem/1.3 var(--display); margin-bottom: .5rem; }
.consent p { font-size: .93rem; color: var(--muted); }
.consent .actions { margin-top: 1rem; }
.consent .btn { padding: .7rem 1.1rem; font-size: .93rem; }

@media (max-width: 960px) {
  .hero-grid, .two-col, .founder, .cta-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { width: 200px; }
  .hero-visual::before { width: 250px; }
  .cards, .cases, .models { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .15); }
  .cases.full .case { grid-template-columns: 1fr; gap: .5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
  .nav { gap: 1rem; flex-wrap: wrap; }
  .site-header .wrap { flex-wrap: wrap; padding-top: .6rem; padding-bottom: .6rem; }
}
@media (max-width: 600px) {
  section { padding: 3.5rem 0; }
  .hero { padding-top: 3rem; }
  .areas { grid-template-columns: 1fr; }
  .site-header .btn.small { display: none; }
  .nav { font-size: .92rem; gap: .5rem 1rem; }
  .portrait-wrap { width: 220px; }
  .creds { columns: 1; }
  .panel { padding: 1.5rem; }
  .stat b { font-size: 1.7rem; }
  .consent { inset: auto .75rem .75rem .75rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
@media print { .site-header, .consent, .cta-band, .site-footer { display: none; } .dark { color: #000; background: none; } }
.cta-inner .actions { margin: 0; }
@media (max-width: 600px) {
  .hero-visual img { width: 130px; }
  .hero-visual::before { width: 170px; }
  .stat b { font-size: 1.35rem; }
  .stat { padding: 1.2rem .75rem 1.3rem 0; }
  .stat + .stat { padding-left: 1rem; }
  .brand img { width: 44px; height: 44px; }
  .brand b { font-size: 1.25rem; }
}
