/* ==========================================================================
   Dr. Fermín Celma — stem cell therapy
   Clinical blue and white. Tokens first, then base, layout, components, pages.
   ========================================================================== */

:root {
    --bg:         #f5f9fd;
    --surface:    #ffffff;
    --ink:        #0d2340;
    --ink-2:      #3d536c;
    --ink-3:      #647790;
    --line:       #d5e2f0;
    --line-soft:  #e8f0f9;

    --blue:       #1666c5;
    --blue-dark:  #0d4f9f;
    --blue-deep:  #0a3770;
    --blue-tint:  #eaf3fd;
    --sky:        #d4e8fb;
    --cyan:       #2aa5dd;
    --navy:       #0a2142;

    --green:      #12805c;
    --amber:      #b7791f;
    --amber-tint: #fdf5e6;
    --danger:     #b4271b;
    --danger-tint:#fdecea;

    --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --serif:   "Source Serif 4", Georgia, "Times New Roman", serif;

    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(64px, 8.5vw, 108px);
    --radius-lg: 20px;
    --radius: 14px;
    --radius-small: 10px;
    --shadow-sm: 0 1px 2px rgba(13, 35, 64, .06), 0 2px 8px -2px rgba(13, 35, 64, .06);
    --shadow: 0 1px 2px rgba(13, 35, 64, .05), 0 18px 40px -18px rgba(13, 35, 64, .22);
    --shadow-lg: 0 2px 4px rgba(13, 35, 64, .04), 0 30px 60px -24px rgba(10, 55, 112, .32);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.68;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.09rem; } }

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

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.022em;
    margin: 0 0 .5em;
    color: var(--ink);
    text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.3rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

strong { font-weight: 600; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-small);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section.is-tinted { background: var(--surface); }
.section.is-flush-top { padding-top: 0; }
.stack-lg { margin-top: clamp(48px, 6vw, 72px); }
.measure { max-width: 66ch; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-2); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font: 700 .78rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
    color: var(--blue); margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--ink-2); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow::before { display: none; }

.split { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) {
    .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
    .split.is-even { grid-template-columns: 1fr 1fr; }
    .split.is-center { align-items: center; }
    .split.is-reversed { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 50px; padding: .75em 1.5em;
    font: 600 1rem/1.2 var(--display);
    color: #fff; background: var(--blue);
    border: 1.5px solid var(--blue); border-radius: var(--radius-small);
    text-decoration: none; cursor: pointer;
    box-shadow: 0 8px 20px -10px rgba(22, 102, 197, .7);
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-ghost { background: var(--surface); color: var(--blue); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--blue-tint); color: var(--blue-dark); border-color: #b9d4f2; }
.btn-white { background: #fff; color: var(--blue-deep); border-color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
.btn-white:hover { background: var(--blue-tint); color: var(--blue-deep); border-color: var(--blue-tint); }
.btn-whatsapp { background: #1f8a55; border-color: #1f8a55; box-shadow: 0 8px 20px -10px rgba(31, 138, 85, .7); }
.btn-whatsapp:hover { background: #17703f; border-color: #17703f; }
.btn-small { min-height: 42px; padding: .55em 1.15em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.arrow-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.arrow-link::after { content: "\2192"; transition: transform .15s ease; }
.arrow-link:hover { text-decoration: none; }
.arrow-link:hover::after { transform: translateX(3px); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy); color: #c4d5ea; font-size: .86rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar svg { width: 16px; height: 16px; flex: none; color: #7cc4f0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 500; }
.topbar a:hover { text-decoration: underline; }
.topbar .topbar-wa svg { color: #7cc4f0; }
@media (max-width: 760px) { .topbar .topbar-wa { display: none; } .topbar .wrap { justify-content: center; } }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(1.5) blur(12px);
    -webkit-backdrop-filter: saturate(1.5) blur(12px);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 6px 24px -20px rgba(13, 35, 64, .5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--display); font-size: 1.22rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-role { font-size: .8rem; color: var(--ink-3); margin-top: 3px; font-weight: 500; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list a, .sub-toggle {
    display: block; padding: 10px 13px;
    font: 600 .94rem/1.2 var(--display); color: var(--ink-2);
    text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 8px;
    transition: color .15s ease, background-color .15s ease;
}
.nav-list > li > a:hover, .sub-toggle:hover { color: var(--blue); background: var(--blue-tint); }
.nav-list > li > a[aria-current="page"], .has-sub.is-active > .sub-toggle { color: var(--blue); background: var(--blue-tint); }
.nav-list .nav-cta { margin-left: 10px; }
.nav-list .nav-cta a { color: #fff; background: var(--blue); padding: .62em 1.2em; border-radius: var(--radius-small); box-shadow: 0 8px 18px -10px rgba(22, 102, 197, .8); }
.nav-list .nav-cta a:hover, .nav-list .nav-cta a[aria-current="page"] { background: var(--blue-dark); color: #fff; }

.sub-toggle::after {
    content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px;
    border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
    transform: translateY(-3px) rotate(45deg); transition: transform .15s ease;
}
.sub-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }

.has-sub { position: relative; }
.sub-list {
    list-style: none; margin: 0; padding: 8px;
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px;
    background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: none;
}
.sub-list a { padding: 11px 14px; font-weight: 500; color: var(--ink); border-radius: 8px; }
.sub-list a:hover { background: var(--blue-tint); color: var(--blue-dark); }
.sub-list a[aria-current="page"] { color: var(--blue); font-weight: 700; }
.has-sub.is-open .sub-list { display: block; }
@media (hover: hover) and (min-width: 1121px) {
    .has-sub:hover .sub-list { display: block; }
    .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
}

.nav-toggle {
    display: none; align-items: center; gap: 10px;
    min-height: 44px; padding: 8px 14px;
    font: 600 .95rem var(--display); color: var(--ink);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-small); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; position: relative;
    transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: var(--surface); border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -20px rgba(13, 35, 64, .35);
        max-height: calc(100vh - 78px); overflow-y: auto;
        display: none;
    }
    .site-nav.is-open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 22px; }
    .nav-list > li { border-bottom: 1px solid var(--line-soft); }
    .nav-list > li:last-child { border-bottom: 0; }
    .nav-list a, .sub-toggle { padding: 15px 6px; font-size: 1.05rem; width: 100%; text-align: left; border-radius: 0; color: var(--ink); }
    .nav-list > li > a:hover, .sub-toggle:hover { background: none; }
    .nav-list > li > a[aria-current="page"], .has-sub.is-active > .sub-toggle { background: none; color: var(--blue); }
    .sub-toggle { display: flex; justify-content: space-between; align-items: center; }
    .sub-list { position: static; box-shadow: none; border: 0; background: var(--blue-tint); padding: 6px; margin: 0 0 12px; min-width: 0; }
    .sub-list a { padding: 11px 12px; }
    .nav-list .nav-cta { margin: 16px 0 0; }
    .nav-list .nav-cta a { text-align: center; padding: 15px; color: #fff; }
}
@media (max-width: 420px) {
    .brand-mark { width: 38px; height: 38px; }
    .brand-name { font-size: 1.08rem; }
    .brand-role { font-size: .74rem; }
    .nav-toggle-label { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: clamp(44px, 6vw, 88px) 0 clamp(64px, 8vw, 104px);
    background:
        radial-gradient(900px 480px at 88% 10%, rgba(42, 165, 221, .18), transparent 60%),
        radial-gradient(700px 420px at 0% 100%, rgba(22, 102, 197, .10), transparent 60%),
        linear-gradient(180deg, #eef6fe 0%, #f5f9fd 100%);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(22, 102, 197, .13) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
}
.hero-grid { position: relative; display: grid; gap: clamp(44px, 5vw, 72px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.hero h1 { max-width: 17ch; margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { max-width: 37rem; }

.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px 7px 8px; margin-bottom: 22px;
    font: 600 .86rem/1.2 var(--display); color: var(--blue-deep);
    background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
.chip .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); }
.chip .dot svg { width: 14px; height: 14px; }

.trust-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 560px) { .trust-list { grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 26px; } }
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; color: var(--ink-2); line-height: 1.3; }
.trust-list svg { width: 22px; height: 22px; flex: none; color: var(--green); background: #e3f4ec; border-radius: 50%; padding: 4px; }

.hero-visual { position: relative; max-width: 470px; justify-self: center; width: 100%; }
.hero-photo {
    position: relative; margin: 0; border-radius: 28px; overflow: hidden;
    aspect-ratio: 4 / 4.6; background: #0d4f9f;
    box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.hero-photo::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
    background: linear-gradient(180deg, transparent, rgba(10, 33, 66, .78));
}
.hero-photo figcaption { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 1; color: #dbe8f7; font-size: .9rem; line-height: 1.35; }
.hero-photo figcaption strong { display: block; color: #fff; font: 700 1.15rem/1.25 var(--display); }
.float-card {
    position: absolute; z-index: 2;
    display: flex; align-items: center; gap: 12px;
    padding: 13px 16px; max-width: 250px;
    background: rgba(255, 255, 255, .96); border: 1px solid var(--line-soft); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); font-size: .86rem; line-height: 1.3; color: var(--ink-2);
}
.float-card strong { display: block; color: var(--ink); font: 700 .95rem/1.25 var(--display); }
.float-card .ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); }
.float-card .ico svg { width: 22px; height: 22px; }
.float-card .ico.is-green { background: #e3f4ec; color: var(--green); }
.float-card.is-top { top: 28px; left: -44px; }
.float-card.is-bottom { bottom: 96px; right: -40px; }
@media (max-width: 1240px) { .float-card.is-top { left: -16px; } .float-card.is-bottom { right: -16px; } }
@media (max-width: 560px) {
    .float-card { position: static; max-width: none; margin-top: 12px; }
    .hero-photo { aspect-ratio: 4 / 4.4; }
}
@media (prefers-reduced-motion: no-preference) {
    .hero-photo { animation: rise .8s cubic-bezier(.2, .7, .2, 1) .05s both; }
    .float-card.is-top { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .45s both; }
    .float-card.is-bottom { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .65s both; }
    @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ---------- Facts strip ---------- */
.facts { position: relative; z-index: 2; margin-top: -40px; }
.facts-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
@media (min-width: 900px) { .facts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { padding: clamp(20px, 2.6vw, 30px) clamp(18px, 2.4vw, 30px); border-color: var(--line-soft); border-style: solid; border-width: 0; }
.fact:nth-child(odd) { border-right-width: 1px; }
.fact:nth-child(-n+2) { border-bottom-width: 1px; }
@media (min-width: 900px) {
    .fact { border-width: 0 !important; }
    .fact + .fact { border-left-width: 1px !important; }
}
.fact-value { display: block; font: 800 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--display); color: var(--blue); letter-spacing: -0.02em; }
.fact-label { display: block; margin-top: 6px; font-size: .92rem; color: var(--ink-2); line-height: 1.4; }

/* ---------- Certificate of Analysis card ---------- */
.coa {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    font-size: .95rem;
}
.coa-head {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 22px 26px;
    color: #fff;
    background: linear-gradient(120deg, var(--blue-deep), var(--blue) 70%, #2a86d8);
}
.coa-title { font-family: var(--display); font-size: 1.3rem; font-weight: 800; line-height: 1.2; margin: 0; color: #fff; }
.coa-sub { margin: 4px 0 0; color: #cfe2f7; font-size: .88rem; }
.coa-stamp {
    flex: none; display: inline-flex; align-items: center; gap: 6px;
    font: 700 .76rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--blue-deep);
    background: #fff; border-radius: 999px; padding: 8px 12px;
}
.coa-stamp svg { width: 14px; height: 14px; color: var(--green); }
.coa-group { padding: 6px 26px 8px; }
.coa-group + .coa-group { border-top: 1px solid var(--line-soft); }
.coa-group-title { font: 700 .74rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 16px 0 6px; }
.coa-table { width: 100%; border-collapse: collapse; }
.coa-table th, .coa-table td { text-align: left; vertical-align: top; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.coa-table tr:last-child th, .coa-table tr:last-child td { border-bottom: 0; }
.coa-table th { font-weight: 600; padding-right: 16px; width: 46%; }
.coa-table td { color: var(--ink-2); }
.coa-foot {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 15px 26px 17px; background: var(--blue-tint); color: var(--blue-deep); font-size: .9rem; line-height: 1.45;
}
.coa-foot svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--green); }
@media (max-width: 520px) {
    .coa-head, .coa-group, .coa-foot { padding-left: 18px; padding-right: 18px; }
    .coa-table th, .coa-table td { display: block; width: auto; padding: 0; border: 0; }
    .coa-table tr { display: block; padding: 9px 0; border-bottom: 1px dashed var(--line); }
    .coa-table tr:last-child { border-bottom: 0; }
}

/* ---------- Conditions ---------- */
.cond-grid { display: grid; gap: 18px; }
@media (min-width: 600px) { .cond-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .cond-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cond-card {
    position: relative; display: flex; flex-direction: column; gap: 10px;
    padding: 24px 22px 22px; text-decoration: none; color: var(--ink);
    background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cond-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #bcd6f3; color: var(--ink); text-decoration: none; }
.cond-card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); }
.cond-card .ico svg { width: 26px; height: 26px; }
.cond-card h3 { margin: 6px 0 0; font-size: 1.12rem; }
.cond-card p { margin: 0; font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
.cond-card .arrow-link { margin-top: auto; padding-top: 6px; font-size: .92rem; color: var(--blue); }

.also { margin-top: 36px; padding: 24px 26px; border-radius: var(--radius); background: var(--blue-tint); border: 1px solid var(--sky); }
.also h3 { font-size: 1rem; margin: 0 0 14px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); line-height: 1.3; }
.tags li a { text-decoration: none; font-weight: 600; }

.condition-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 600px) { .condition-list { grid-template-columns: 1fr 1fr; } }
.condition-list li {
    display: flex; align-items: center; gap: 12px; line-height: 1.4;
    padding: 14px 16px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-small);
}
.condition-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #b8c9dc; }
.condition-list li.has-page { border-color: #c4dbf4; }
.condition-list li.has-page::before { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint); }
.condition-list a { font-weight: 600; text-decoration: none; }
.condition-list a:hover { text-decoration: underline; }
.condition-list .note { display: block; font-size: .85rem; color: var(--ink-3); }
.key { font-size: .9rem; color: var(--ink-3); margin-top: 16px; display: flex; align-items: center; gap: 8px; }
.key::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

/* ---------- Steps (screening is a real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 28px 66px; }
.steps > li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute; left: 0; top: -4px;
    width: 46px; height: 46px; border-radius: 14px;
    display: grid; place-items: center;
    font: 800 1rem/1 var(--display); color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 8px 18px -10px rgba(22, 102, 197, .9);
}
.steps > li::after { content: ""; position: absolute; left: 22px; top: 48px; bottom: 4px; width: 2px; background: var(--sky); }
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--ink-2); margin: 0; }
@media (min-width: 1000px) {
    .steps.is-horizontal { grid-template-columns: repeat(5, 1fr); gap: 16px; }
    .steps.is-horizontal > li {
        padding: 26px 22px 24px; background: var(--surface); border: 1px solid var(--line-soft);
        border-radius: var(--radius); box-shadow: var(--shadow-sm);
    }
    .steps.is-horizontal > li::before { position: static; margin-bottom: 18px; }
    .steps.is-horizontal > li::after { left: auto; right: -16px; top: 48px; bottom: auto; width: 16px; height: 2px; }
    .steps.is-horizontal > li:last-child::after { display: none; }
    .steps.is-horizontal h3 { font-size: 1.05rem; }
    .steps.is-horizontal p { font-size: .94rem; }
}

/* ---------- Deep blue band: quality control ---------- */
.band-dark {
    position: relative; overflow: hidden;
    background:
        radial-gradient(800px 400px at 100% 0%, rgba(42, 165, 221, .28), transparent 60%),
        linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 60%, #0d4f9f 100%);
    color: #d3e2f3;
}
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: #7cc4f0; }
.band-dark .section-head p { color: #b5cbe4; }
.band-dark a { color: #9fd6f7; }
.qc-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.qc-table caption { text-align: left; font: 700 1.2rem/1.3 var(--display); color: #fff; margin-bottom: 12px; }
.qc-table th, .qc-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .13); vertical-align: top; }
.qc-table thead th { font: 700 .74rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #8fb2d8; padding-top: 0; }
.qc-table tbody th { color: #fff; font-weight: 600; width: 38%; padding-right: 20px; }
.qc-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .qc-grid { grid-template-columns: 1fr 1fr; } }
.potency {
    padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
}
.potency ul { padding-left: 0; margin: 0 0 1.1em; list-style: none; }
.potency li { margin-bottom: .55em; position: relative; padding-left: 28px; }
.potency li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(42, 165, 221, .22); }

/* ---------- Quote + portrait ---------- */
.doctor-block { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 860px) { .doctor-block { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.portrait { margin: 0; position: relative; max-width: 400px; }
.portrait::before {
    content: ""; position: absolute; top: 18px; left: 18px; right: -18px; aspect-ratio: 4 / 5; border-radius: 24px;
    background: linear-gradient(135deg, var(--sky), rgba(42, 165, 221, .25)); z-index: 0;
}
.portrait img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 8%; border-radius: 24px; background: var(--blue-tint); box-shadow: var(--shadow); }
.portrait figcaption { position: relative; z-index: 1; font-size: .9rem; color: var(--ink-3); margin-top: 30px; line-height: 1.4; }
.portrait figcaption strong { color: var(--ink); display: block; font: 700 1.02rem/1.3 var(--display); }

.pull-quote { margin: 0 0 28px; padding: 0; position: relative; }
.pull-quote::before {
    content: "\201C"; display: block; height: .6em; margin-bottom: 10px;
    font: 800 5rem/1 var(--display); color: var(--sky);
}
.pull-quote p {
    font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.3vw, 1.8rem); line-height: 1.4; font-weight: 400;
    color: var(--ink); text-wrap: pretty;
}
.pull-quote cite { display: block; margin-top: 14px; font-style: normal; color: var(--ink-3); font-size: .95rem; }

.cred-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
@media (min-width: 620px) { .cred-list { grid-template-columns: 1fr 1fr; } }
.cred-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-small); font-size: .93rem; line-height: 1.4; color: var(--ink-2); }
.cred-list li strong { display: block; color: var(--ink); font-family: var(--display); }
.cred-list svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 1px; }

/* ---------- Timeline (about) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--sky); }
.timeline li { position: relative; padding: 0 0 26px 38px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--blue); }
.timeline li.is-now::before { background: var(--blue); box-shadow: 0 0 0 5px var(--blue-tint); }
.timeline .when { display: inline-block; font: 700 .78rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--blue-tint); padding: 5px 9px; border-radius: 6px; margin-bottom: 8px; }
.timeline h3 { font-size: 1.08rem; margin: 0 0 .2em; }
.timeline p { margin: 0; color: var(--ink-2); font-size: .97rem; }

.focus-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .focus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .focus-grid { grid-template-columns: repeat(4, 1fr); } }
.focus-card { padding: 24px 22px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.focus-card .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); margin-bottom: 16px; }
.focus-card .ico svg { width: 24px; height: 24px; }
.focus-card h3 { font-size: 1.05rem; margin-bottom: .35em; }
.focus-card p { margin: 0; font-size: .94rem; color: var(--ink-2); line-height: 1.5; }

.mission {
    position: relative; overflow: hidden;
    padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--blue-tint), #fff 70%);
    border: 1px solid var(--sky);
}
.mission p:not(.eyebrow) { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.5; color: var(--ink); max-width: 52rem; }

/* ---------- Articles ---------- */
.article-grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.article-card {
    display: flex; flex-direction: column; background: var(--surface);
    border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-card .media { display: block; aspect-ratio: 16 / 10; background: var(--blue-deep); overflow: hidden; }
.article-card .media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .4s ease; }
.article-card:hover .media img { transform: scale(1.03); }
.article-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.article-card h3 { font-size: clamp(1.1rem, 1.5vw, 1.22rem); line-height: 1.32; margin-bottom: .5em; }
.article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card h3 a:hover { color: var(--blue); }
.article-card p { color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.article-card .more { margin: auto 0 0; padding-top: 8px; }
.article-card .more a { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; }
.article-card .more a::after { content: "\2192"; transition: transform .15s ease; }
.article-card .more a:hover::after { transform: translateX(3px); }

.source { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--blue); background: var(--blue-tint); padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.source svg { width: 14px; height: 14px; }

.video-block { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 860px) {
    .video-block { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
    .video-block.is-portrait { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
}
.video-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-block.is-portrait .video-frame { max-width: 340px; width: 100%; justify-self: center; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-text { max-width: 36rem; }
.video-text .check-list { margin: 0 0 1em; }
.video-text .check-list li { margin-bottom: .45em; }

/* ---------- CTA panel ---------- */
.cta-panel {
    position: relative; overflow: hidden;
    display: grid; gap: 24px 48px; align-items: center;
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(42, 165, 221, .45), transparent 65%),
        linear-gradient(120deg, var(--blue-deep), var(--blue));
    border-radius: var(--radius-lg);
    padding: clamp(30px, 5vw, 60px);
    color: #d9e8f8;
    box-shadow: var(--shadow-lg);
}
@media (min-width: 860px) { .cta-panel { grid-template-columns: minmax(0, 1.4fr) auto; } }
.cta-panel h2 { margin-bottom: .35em; color: #fff; }
.cta-panel p { color: #d1e3f6; max-width: 44rem; }
.cta-panel .btn-row { margin-top: 0; }
.cta-panel .btn { background: #fff; color: var(--blue-deep); border-color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.cta-panel .btn:hover { background: var(--blue-tint); border-color: var(--blue-tint); }

/* ---------- Inner page header ---------- */
.page-head {
    position: relative; overflow: hidden;
    padding: clamp(36px, 5vw, 72px) 0 clamp(36px, 5vw, 60px);
    background:
        radial-gradient(700px 360px at 95% 0%, rgba(42, 165, 221, .16), transparent 60%),
        linear-gradient(180deg, #eaf3fd 0%, #f5f9fd 100%);
    border-bottom: 1px solid var(--line-soft);
}
.page-head::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(22, 102, 197, .12) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent 55%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 55%, #000 100%);
}
.page-head .wrap { position: relative; }
.page-head h1 { max-width: 24ch; font-size: clamp(2rem, 4vw, 3rem); }
.page-head .lead { max-width: 46rem; margin: 0; }
.crumbs { font-size: .88rem; color: var(--ink-3); margin-bottom: 20px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid #9db3cc; border-bottom: 1.5px solid #9db3cc; transform: rotate(-45deg); }
.crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-3); }

.byline { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; color: var(--ink-2); font-size: .95rem; line-height: 1.35; }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 14%; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.byline strong { color: var(--ink); display: block; font-family: var(--display); }
.page-head .byline { margin: 26px 0 0; }

/* ---------- Prose (article-style content) ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.45rem, 2.3vw, 1.85rem); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue); }
.prose blockquote {
    margin: 1.8em 0; padding: 22px 26px; border-left: 4px solid var(--blue);
    background: var(--blue-tint); border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--serif); font-style: italic; font-size: 1.18rem; line-height: 1.55; color: var(--ink);
}
.prose blockquote cite { display: block; margin-top: 10px; font: 600 .9rem var(--sans); font-style: normal; color: var(--ink-3); }

.content-grid { display: grid; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1fr) 310px; } }
.aside { align-self: start; }
@media (min-width: 960px) { .aside { position: sticky; top: 104px; } }
.aside-box { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; font-size: .96rem; box-shadow: var(--shadow-sm); }
.aside-box + .aside-box { margin-top: 18px; }
.aside-box h2 { font-size: 1.05rem; margin-bottom: .8em; }
.aside-box ul { list-style: none; margin: 0; padding: 0; }
.aside-box li { border-bottom: 1px solid var(--line-soft); }
.aside-box li:last-child { border-bottom: 0; }
.aside-box li a { display: block; padding: 9px 0; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.aside-box li a:hover { color: var(--blue); }
.aside-box li a[aria-current="page"] { color: var(--blue); font-weight: 700; }
.aside-box .btn { width: 100%; margin-top: 16px; }
.aside-box p { color: var(--ink-2); }
.aside-box.is-blue { background: linear-gradient(160deg, var(--blue-tint), #fff); border-color: var(--sky); }

.check-list { list-style: none; padding: 0 !important; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li svg { position: absolute; left: 0; top: .18em; width: 22px; height: 22px; color: var(--green); background: #e3f4ec; border-radius: 50%; padding: 4px; }

.mechanisms { display: grid; gap: 16px; margin: 1.4em 0 1.8em; }
@media (min-width: 700px) { .mechanisms { grid-template-columns: repeat(3, 1fr); } }
.mechanism { background: var(--surface); padding: 22px 22px 22px; border-radius: var(--radius); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); border-top: 4px solid var(--blue); }
.mechanism h3 { font-size: 1.05rem; margin: 0 0 .35em; }
.mechanism p { font-size: .95rem; color: var(--ink-2); margin: 0; }

.callout { background: var(--amber-tint); border: 1px solid #f1dcb2; border-left: 4px solid var(--amber); border-radius: var(--radius-small); padding: 18px 22px; margin: 1.6em 0; }
.callout p { margin: 0; }
.callout.is-teal, .callout.is-blue { background: var(--blue-tint); border-color: var(--sky); border-left-color: var(--blue); }

.figure { margin: 1.8em 0; }
.figure img { border-radius: var(--radius); border: 1px solid var(--line-soft); width: 100%; max-width: 560px; box-shadow: var(--shadow); }
.figure figcaption { font-size: .88rem; color: var(--ink-3); margin-top: 12px; }
.figure.is-small img { max-width: 380px; }

.prose .steps { padding-left: 0; margin: 1.4em 0; }
.prose .steps h3 { margin-top: 0; font-size: 1.08rem; }
.prose .columns-2 { columns: 2 14rem; column-gap: 32px; }
.prose .columns-2 li { break-inside: avoid; }
.prose .check-list li { margin-bottom: .7em; }
.prose .check-list li::marker { content: none; }
.signoff { margin-top: 2.4em; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); color: var(--ink-2); font-size: .95rem; }
.signoff cite { font-style: italic; }

/* Before / after comparison (patient story) */
.compare { display: grid; gap: 16px; margin: 1.6em 0; }
@media (min-width: 640px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare > div { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--surface); }
.compare h3 { margin: 0 0 .6em !important; font-size: 1rem; }
.compare ul { list-style: none; padding: 0 !important; margin: 0 !important; }
.compare li { position: relative; padding-left: 22px; font-size: .96rem; }
.compare li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; }
.compare .is-before { background: #fbf3f2; border-color: #f2d6d2; }
.compare .is-before h3 { color: var(--danger); }
.compare .is-before li::before { background: #d9534a; }
.compare .is-after { background: #eef8f3; border-color: #cbe9d9; }
.compare .is-after h3 { color: var(--green); }
.compare .is-after li::before { background: #2fa36f; }

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: clamp(1.35rem, 2.1vw, 1.65rem); margin-bottom: 18px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: border-color .15s ease; }
.faq details[open] { border-color: #c4dbf4; }
.faq summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 19px 22px; font: 600 1.02rem/1.4 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
    background:
        linear-gradient(var(--blue), var(--blue)) center / 11px 2px no-repeat,
        linear-gradient(var(--blue), var(--blue)) center / 2px 11px no-repeat,
        var(--blue-tint);
    transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq .answer { padding: 0 22px 22px; color: var(--ink-2); max-width: 70ch; }
.faq .answer ul { padding-left: 1.2em; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font: 600 .95rem/1.3 var(--display); margin-bottom: 7px; }
.field .hint { display: block; font: 400 .86rem/1.45 var(--sans); color: var(--ink-3); margin: -2px 0 8px; }
.req { color: var(--danger); }
.optional { font-weight: 400; color: var(--ink-3); font-size: .92em; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 52px; padding: 13px 15px;
    font: 400 1rem/1.4 var(--sans); color: var(--ink);
    background: #fbfdff; border: 1.5px solid #c9d8e9; border-radius: var(--radius-small);
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #a9c2de; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 102, 197, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { display: block; color: var(--danger); font-size: .88rem; margin-top: 6px; }
.check { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.check label { flex: 1 1 0; min-width: 0; }
.check .field-error { flex-basis: 100%; margin: 0 0 0 32px; }
.form-note { margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; }
.alert-error { background: var(--danger-tint); border: 1px solid #f1c6c1; color: #6f1a12; }
.alert ul { margin: 6px 0 0; padding-left: 1.2em; }

.contact-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow); }
.contact-card h2 { margin-bottom: 20px; }

/* ---------- Thank-you / error ---------- */
.notice { max-width: 640px; }
.notice-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); margin-bottom: 22px; }
.notice-icon svg { width: 30px; height: 30px; }

/* ---------- Footer ---------- */
.site-footer {
    background:
        radial-gradient(700px 300px at 100% 0%, rgba(42, 165, 221, .14), transparent 60%),
        var(--navy);
    color: #a9bfd8; padding: clamp(56px, 7vw, 84px) 0 32px; font-size: .96rem;
}
.site-footer a { color: #dce8f6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .brand-mark { width: 42px; height: 42px; }
.footer-name { font: 800 1.3rem/1.2 var(--display); color: #fff; margin: 0; letter-spacing: -0.02em; }
.footer-about p { max-width: 34rem; }
.footer-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-small); color: #d3e2f3; font-size: .92rem; line-height: 1.5; }
.footer-note svg { width: 20px; height: 20px; flex: none; color: #7cc4f0; margin-top: 1px; }
.footer-heading { color: #fff; font: 700 .8rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { display: inline-flex; align-items: center; gap: 8px; }
.footer-col svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; color: #8aa3bf; }
.footer-bottom .disclaimer { max-width: 84ch; }
.footer-bottom .legal { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom .legal a { color: #b5c9e0; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Article dates + YouTube click-to-play ---------- */
.card-date { font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); margin: 0 0 8px; }
.video-note { font-size: .88rem; color: var(--ink-3); }
.video-facade {
    position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
    background: #000; display: grid; place-items: center;
}
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-facade .play {
    position: relative; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; color: var(--blue); box-shadow: 0 0 0 10px rgba(255, 255, 255, .25), 0 6px 20px rgba(0, 0, 0, .35); transition: transform .15s ease;
}
.video-facade .play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-facade:hover .play, .video-facade:focus-visible .play { transform: scale(1.07); }
.video-facade:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 859px) { .portrait { max-width: 300px; } }

/* ---------- Print ---------- */
@media print {
    .topbar, .site-header, .site-footer, .btn, .cta-panel, .nav-toggle { display: none !important; }
    body { background: #fff; font-size: 11pt; }
    .section { padding: 24px 0; }
}

/* Compact condition cards on phones: icon beside the text */
@media (max-width: 599px) {
    .cond-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 18px; }
    .cond-card .ico { grid-row: 1 / span 3; width: 44px; height: 44px; border-radius: 12px; }
    .cond-card h3 { margin: 0; }
    .cond-card .arrow-link { padding-top: 4px; }
    .also { padding: 20px; }
}
