/* Niyamit Health: site design system. Loaded after bootstrap.min.css on every page. */

:root {
    --ink: #0b2239;
    --ink-2: #44546a;
    --ink-3: #6b7a8c;
    --line: #e1eaf0;
    --bg: #ffffff;
    --bg-soft: #f1f9fc;
    --bg-warm: #fff7ec;
    --brand: #08769b;
    --brand-dark: #065b78;
    --brand-bright: #19b8d8;
    --brand-tint: #e1f5fa;
    --accent: #f2553c;
    --sun: #ffc857;
    --ok: #12805c;
    --ok-tint: #e2f6ee;
    --wa: #128c4a;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(11, 34, 57, .08);
    --shadow-lg: 0 24px 60px rgba(11, 34, 57, .14);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-primary: #08769b;
    --bs-dark: #0b2239;
}

/*** Base ***/
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font);
    color: var(--ink-2);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font);
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.display-6 {
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    font-weight: 800;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-dark);
}

img {
    max-width: 100%;
    height: auto;
}

:focus-visible {
    outline: 3px solid var(--brand-bright);
    outline-offset: 2px;
    border-radius: 6px;
}

.text-primary { color: var(--brand) !important; }
.bg-primary { background-color: var(--brand) !important; }
.bg-light { background-color: var(--bg-soft) !important; }
.text-muted { color: var(--ink-3) !important; }
.border { border-color: var(--line) !important; }
.lead { color: var(--ink-2); font-size: 1.1rem; }

/*** Buttons ***/
.btn {
    font-family: var(--font);
    font-weight: 700;
    border-radius: 999px;
    padding: .7rem 1.4rem;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn:active { transform: translateY(1px); }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.02rem; }
.btn-sm { padding: .45rem 1rem; }

.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 8px 20px rgba(8, 118, 155, .25);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.btn-outline-primary {
    color: var(--brand);
    border: 2px solid var(--brand);
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.btn-light {
    background: #fff;
    border: 2px solid var(--line);
    color: var(--ink);
}

.btn-light:hover { border-color: var(--brand); color: var(--brand); background: #fff; }

.btn-wa {
    background: var(--wa);
    border-color: var(--wa);
    color: #fff;
    box-shadow: 0 8px 20px rgba(18, 140, 74, .25);
}

.btn-wa:hover, .btn-wa:focus { background: #0e7a40; border-color: #0e7a40; color: #fff; }

/*** Forms ***/
.form-control,
.form-select {
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-family: var(--font);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(25, 184, 216, .2);
}

/*** Announcement bar ***/
.topbar {
    background: var(--ink);
    color: #dbe7f0;
    font-size: .85rem;
    padding: .45rem 0;
}

.topbar .container {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.5rem;
    align-items: center;
    justify-content: center;
}

.topbar i { color: var(--brand-bright); margin-right: .35rem; }
.topbar a { color: #fff; font-weight: 600; }
.topbar-right { margin-left: auto; }

@media (max-width: 991.98px) {
    .topbar-hide-sm { display: none; }
    .topbar-right { margin-left: 0; }
}

/*** Open / closed pill ***/
.open-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
    font-size: .85rem;
}

.open-pill::before {
    content: "";
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: #9aa8b5;
}

.open-pill.is-open::before {
    background: #2fd08c;
    box-shadow: 0 0 0 4px rgba(47, 208, 140, .25);
}

/*** Header / nav ***/
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.site-header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px rgba(11, 34, 57, .06);
}

.site-header .navbar { padding: .7rem 0; }

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -.02em;
    line-height: 1.05;
}

.brand:hover { color: var(--ink); }
.brand img { width: 42px; height: 43px; }

.brand small {
    display: block;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.site-header .nav-link {
    color: var(--ink-2);
    font-weight: 600;
    font-size: .95rem;
    padding: .5rem .85rem !important;
    border-radius: 999px;
}

.site-header .nav-link:hover { color: var(--brand); background: var(--brand-tint); }
.site-header .nav-link.active { color: var(--brand); background: var(--brand-tint); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}

.navbar-toggler {
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: .45rem .6rem;
}

.navbar-toggler:focus { box-shadow: 0 0 0 4px rgba(25, 184, 216, .2); }

@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        padding: .75rem 0 1rem;
    }

    .site-header .nav-link { padding: .7rem 1rem !important; }
    .nav-actions { margin-top: .75rem; flex-wrap: wrap; }
}

/*** Sections ***/
.section { padding: 4.5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }

.section-head {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; margin-bottom: .6rem; }
.section-head p { margin: 0; font-size: 1.05rem; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .8rem;
    margin-bottom: .9rem;
    border-radius: 999px;
    background: var(--brand-tint);
    color: var(--brand-dark);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.eyebrow.sun { background: #fff0cc; color: #7a5200; }

@media (max-width: 767.98px) {
    .section { padding: 3rem 0; }
}

/*** Hero ***/
.hero {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 4rem;
    background:
        radial-gradient(900px 500px at 85% -10%, #d6f3fa 0%, rgba(214, 243, 250, 0) 70%),
        radial-gradient(700px 420px at -10% 110%, #fff1d6 0%, rgba(255, 241, 214, 0) 70%),
        #fff;
}

.hero h1 {
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -.035em;
    margin-bottom: 1rem;
}

.hero h1 em {
    font-style: normal;
    color: var(--brand);
}

.hero-sub {
    font-size: 1.12rem;
    max-width: 540px;
    margin-bottom: 1.25rem;
}

.hero-price {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .15rem .5rem;
    padding: .6rem 1.1rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-sm);
    background: #fff;
    border: 1.5px dashed var(--sun);
    color: var(--ink);
    font-weight: 600;
}

.hero-price strong { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.hero-price span { color: var(--ink-3); font-size: .9rem; }

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.hero-media {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.hero-media > img {
    width: 100%;
    aspect-ratio: 800 / 862;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem 1rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    color: var(--ink);
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.25;
}

.float-card small { display: block; font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.float-card i { font-size: 1.5rem; color: var(--brand); }
.float-card.fc-1 { left: -18px; top: 28px; }
.float-card.fc-2 { right: -14px; bottom: 34px; }
.float-card.fc-2 i { color: var(--ok); }

@media (max-width: 575.98px) {
    .hero { padding: 2rem 0 2.5rem; }
    .float-card.fc-1 { left: 8px; top: 12px; }
    .float-card.fc-2 { right: 8px; bottom: 12px; }
    .hero-cta .btn { flex: 1 1 100%; }
}

/*** Search ***/
.search {
    position: relative;
    max-width: 540px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .35rem .35rem .35rem 1.1rem;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow);
}

.search-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(25, 184, 216, .2); }
.search-box i { color: var(--ink-3); font-size: 1.1rem; }

.search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    color: var(--ink);
    padding: .6rem 0;
}

.search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + .5rem);
    z-index: 20;
    max-height: 360px;
    overflow: auto;
    padding: .4rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.search-results[hidden] { display: none; }

.search-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .8rem;
    border-radius: 12px;
    color: var(--ink);
}

.search-item:hover, .search-item:focus { background: var(--bg-soft); color: var(--ink); }
.search-item b { display: block; font-weight: 700; }
.search-item small { color: var(--ink-3); }
.search-item .price { margin-left: auto; font-weight: 800; color: var(--brand); white-space: nowrap; }
.search-empty { padding: .9rem; margin: 0; color: var(--ink-3); }

.search-hints {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .8rem;
    font-size: .85rem;
    color: var(--ink-3);
    align-items: center;
}

/*** Chips ***/
.chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .95rem;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink-2);
    font: inherit;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s ease;
}

.chip:hover { border-color: var(--brand); color: var(--brand); }

.chip.is-active,
.chip[aria-pressed="true"],
.chip[aria-checked="true"] {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.chip-sm { padding: .25rem .7rem; font-size: .82rem; }

.chip-row {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.chip-row.scroll-x {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .4rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.chip-row.scroll-x::-webkit-scrollbar { display: none; }

@media (min-width: 992px) {
    .chip-row.scroll-x { flex-wrap: wrap; justify-content: center; overflow: visible; }
}

/*** Trust strip ***/
.trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.1rem 1.2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--ink);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.3;
}

.trust-item small { display: block; font-weight: 500; color: var(--ink-3); font-size: .8rem; }

.trust-item i {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--brand-tint);
    color: var(--brand);
    font-size: 1.35rem;
}

@media (max-width: 991.98px) {
    .trust { grid-template-columns: repeat(2, 1fr); margin-top: 0; padding-top: 1rem; }
}

@media (max-width: 575.98px) {
    .trust { gap: .6rem; }
    .trust-item { flex-direction: column; align-items: flex-start; padding: .9rem; font-size: .88rem; }
}

/*** Package cards ***/
.pkg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.pkg-card {
    display: flex;
    flex-direction: column;
    padding: 1.4rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pkg-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.pkg-cat {
    align-self: flex-start;
    padding: .2rem .65rem;
    margin-bottom: .8rem;
    border-radius: 999px;
    background: var(--brand-tint);
    color: var(--brand-dark);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.pkg-card h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.pkg-meta { font-size: .88rem; color: var(--ink-3); margin-bottom: .8rem; }

.pkg-tests {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.pkg-tests li {
    padding: .15rem .55rem;
    border-radius: 8px;
    background: var(--bg-soft);
    color: var(--ink-2);
    font-size: .78rem;
    font-weight: 600;
}

.pkg-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed var(--line);
}

.pkg-price { font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1; }
.pkg-price small { display: block; font-size: .72rem; font-weight: 600; color: var(--ink-3); margin-top: .25rem; }
.pkg-actions { display: flex; align-items: center; gap: .6rem; }
.pkg-link { font-size: .88rem; font-weight: 700; }
.pkg-empty { grid-column: 1 / -1; text-align: center; padding: 2rem; color: var(--ink-3); }

/*** Steps ***/
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 1.6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--sun);
    color: var(--ink);
    font-weight: 800;
    font-size: 1.1rem;
}

.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { margin: 0; font-size: .95rem; }

@media (max-width: 767.98px) {
    .steps { grid-template-columns: 1fr; }
}

/*** Link tiles (specialised tests) ***/
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.tile {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1.1rem 1.2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    font-weight: 700;
    transition: all .2s ease;
}

.tile small { display: block; font-weight: 500; color: var(--ink-3); font-size: .82rem; }

.tile > i:first-child {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--brand-tint);
    color: var(--brand);
    font-size: 1.3rem;
}

.tile .bi-arrow-right { margin-left: auto; color: var(--ink-3); transition: transform .2s ease; }
.tile:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow); }
.tile:hover .bi-arrow-right { transform: translateX(4px); color: var(--brand); }

/*** About / why ***/
.photo-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.photo-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.photo-stack img:first-child { grid-row: span 2; }

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat {
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
}

.stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.stat span { font-size: .82rem; color: var(--ink-2); }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }

.check-list li {
    position: relative;
    padding: .3rem 0 .3rem 1.9rem;
}

.check-list li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: .3rem;
    color: var(--ok);
}

.founder {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.founder img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.founder b { display: block; color: var(--ink); }
.founder small { color: var(--ink-3); }

/*** Booking widget ***/
.book-wrap {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2.5rem;
    align-items: start;
}

.book-card {
    padding: 1.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}

.book-card fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }

.book-card legend,
.book-label {
    display: block;
    float: none;
    width: auto;
    margin-bottom: .6rem;
    font-size: .92rem;
    font-weight: 700;
    color: var(--ink);
}

.book-label span, .book-card legend span { font-weight: 500; color: var(--ink-3); }

.seg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
}

.seg label {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .85rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 700;
    color: var(--ink);
    transition: all .15s ease;
}

.seg label small { display: block; font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.seg label i { font-size: 1.4rem; color: var(--brand); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--brand-bright); outline-offset: 2px; }

.day-chip {
    flex-direction: column;
    gap: 0;
    min-width: 62px;
    padding: .5rem .7rem;
    border-radius: 14px;
    line-height: 1.2;
}

.day-chip b { font-size: 1.05rem; }
.day-chip small { font-size: .72rem; font-weight: 600; opacity: .8; }

.book-summary {
    padding: .8rem 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-warm);
    color: var(--ink);
    font-size: .92rem;
}

.book-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.book-note { margin: .8rem 0 0; font-size: .8rem; color: var(--ink-3); }

.form-status { margin-top: .9rem; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #b3261e; }

.info-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }

.info-list li {
    display: flex;
    gap: .9rem;
    padding: .9rem 0;
    border-top: 1px solid var(--line);
}

.info-list i { font-size: 1.3rem; color: var(--brand); }
.info-list b { display: block; color: var(--ink); }

@media (max-width: 991.98px) {
    .book-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 575.98px) {
    .book-card { padding: 1.2rem; border-radius: 22px; }
    .book-actions { grid-template-columns: 1fr; }
}

/*** Reviews ***/
.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.review {
    padding: 1.3rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.review p { color: var(--ink); font-weight: 500; margin-bottom: 1rem; }
.review footer { display: flex; align-items: center; gap: .7rem; font-weight: 700; color: var(--ink); font-size: .92rem; }
.review img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

/*** CTA band ***/
.band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 2rem 2.25rem;
    border-radius: 28px;
    background: linear-gradient(120deg, #0b2239 0%, #0a5d7c 100%);
    color: #d8e8f1;
}

.band h2 { color: #fff; font-size: 1.5rem; margin-bottom: .35rem; }
.band p { margin: 0; max-width: 620px; }
.band .btn-light { border-color: #fff; }

/*** FAQ ***/
.faq { max-width: 820px; margin: 0 auto; }

.faq details {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    margin-bottom: .7rem;
    overflow: hidden;
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.2rem;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: var(--ink);
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1rem; margin: 0; }

.faq summary::after {
    content: "\F4FE";
    font-family: "bootstrap-icons";
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--brand-tint);
    color: var(--brand);
    transition: transform .2s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: var(--brand); }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; }

/*** Footer ***/
.site-footer {
    margin-top: 4rem;
    padding: 3.5rem 0 1.5rem;
    background: var(--ink);
    color: #b9c8d6;
    font-size: .95rem;
}

.site-footer h2 {
    color: #fff;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.site-footer a { color: #dbe7f0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand small { color: #9fb2c3; }
.site-footer .brand img { background: #fff; border-radius: 12px; padding: 3px; }
.footer-contact li { display: flex; gap: .6rem; }
.footer-contact i { color: var(--brand-bright); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .85rem;
}

/*** Floating actions ***/
.fab-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1.1rem;
    border-radius: 999px;
    background: var(--wa);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(18, 140, 74, .35);
}

.fab-wa:hover { color: #fff; background: #0e7a40; }
.fab-wa i { font-size: 1.3rem; }

.to-top {
    position: fixed;
    right: 22px;
    bottom: 84px;
    z-index: 1040;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.to-top.is-visible { opacity: 1; pointer-events: auto; }

.mobile-bar { display: none; }

@media (max-width: 767.98px) {
    body { padding-bottom: 68px; }
    .fab-wa { display: none; }
    .to-top { bottom: 82px; right: 14px; }

    .mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        display: grid;
        grid-template-columns: 1fr 1fr 1.4fr;
        gap: .5rem;
        padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(11, 34, 57, .08);
    }

    .mobile-bar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .4rem;
        padding: .7rem .5rem;
        border-radius: 14px;
        border: 1.5px solid var(--line);
        color: var(--ink);
        font-weight: 700;
        font-size: .9rem;
    }

    .mobile-bar a.mb-wa { color: var(--wa); }
    .mobile-bar a.mb-book { background: var(--brand); border-color: var(--brand); color: #fff; }
}

/*** Reveal on scroll ***/
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .pkg-card, .btn, .tile { transition: none; }
}

/*** Interior pages (existing content) ***/
.page-header {
    padding: 1rem 0;
    margin-bottom: 3rem;
    background:
        radial-gradient(700px 300px at 90% 0%, rgba(25, 184, 216, .35) 0%, rgba(25, 184, 216, 0) 70%),
        linear-gradient(120deg, #0b2239 0%, #0a5d7c 100%);
}

.page-header .container { margin-top: 0 !important; padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
.page-header h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
.page-header .breadcrumb { font-size: .9rem; }
.page-header .breadcrumb a { color: #bfe9f4; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: #8fb3c4; }

.content-links a:not(.btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.content-links a:not(.btn):hover { color: var(--brand-dark); }

/* Bordered content boxes on test and package pages */
.container .border.p-4,
.container .border.p-3,
.container .bg-light.p-4,
.container .bg-light.p-3 {
    border-radius: var(--radius);
}

.container .border.p-4,
.container .border.p-3 { background: #fff; }

main img.img-fluid,
.container-team img.img-fluid { border-radius: var(--radius); }

.icon-box-light {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: .5rem;
    border-radius: 50%;
    background: #fff;
    font-size: 1.8rem;
}

.contact-info { gap: 1rem; }
.contact-info > div { flex: 1 1 320px; }
.contact-info a { border-radius: var(--radius); align-items: center; }
.contact-info a i { font-size: 2rem; color: #fff !important; }
.contact-info h2 { font-size: clamp(1.05rem, 2.4vw, 1.5rem); word-break: break-word; }
.contact-info h5 { font-size: .85rem; font-weight: 600; opacity: .85; }

iframe { border-radius: var(--radius); max-width: 100%; }

/* Tests page cards (generated by js/tests.js) */
.custom-card,
.custom-card-horizontal {
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
    background: #fff;
    box-shadow: none !important;
    text-align: left;
    transition: transform .2s ease, box-shadow .2s ease;
}

.custom-card:hover,
.custom-card-horizontal:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg) !important; }
.custom-card-title { color: var(--ink); font-weight: 800 !important; }
.custom-card-subtitle { color: var(--brand) !important; font-weight: 700; }
.modal-content { border: 0; border-radius: var(--radius); }

.table { color: var(--ink-2); }

/*** Clinical research (CRO) page ***/
.cro-hero {
    padding: 4rem 0 5.5rem;
    color: #fff;
    background:
        radial-gradient(700px 300px at 90% 0%, rgba(25, 184, 216, .35) 0%, rgba(25, 184, 216, 0) 70%),
        linear-gradient(120deg, #0b2239 0%, #0a5d7c 100%);
}

.cro-title { color: #fff; font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; max-width: 820px; margin-bottom: 1rem; }
.cro-lead { max-width: 760px; font-size: 1.1rem; color: rgba(255, 255, 255, .88); margin-bottom: 1.75rem; }
.cro-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.cro-badges span { padding: .35rem .75rem; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-size: .85rem; }

.trust-strip {
    position: relative;
    margin-top: -40px;
    margin-bottom: 3rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.cro-stat { padding: 1.25rem .75rem; border-right: 1px solid var(--line); }
.cro-stat:last-child { border-right: 0; }
.cro-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--brand); }
.cro-stat span { font-size: .9rem; color: var(--ink-2); }
.cro-alt { background: var(--bg-soft); }

.cro-card,
.cro-step {
    height: 100%;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.cro-card > i { display: block; font-size: 2rem; color: var(--brand); margin-bottom: .75rem; }
.cro-card p:last-child, .cro-step p:last-child, .cro-list:last-child { margin-bottom: 0; }
.cro-step span { display: block; font-size: 1.75rem; font-weight: 800; color: var(--brand-bright); }
.cro-list { padding-left: 0; list-style: none; }
.cro-list li { position: relative; padding: .3rem 0 .3rem 1.6rem; }
.cro-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.cro-columns { columns: 2; column-gap: 2rem; }
.cro-table th { background: var(--brand-tint); font-weight: 700; color: var(--ink); }

.cro-tag {
    display: inline-block;
    margin-bottom: .5rem;
    padding: .15rem .6rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #0f5132;
    background: var(--ok-tint);
    border-radius: 999px;
}

.cro-intent h3 { margin-top: 1rem; }

@media (max-width: 991.98px) {
    .cro-stat { border-bottom: 1px solid var(--line); }
    .cro-stat strong { font-size: 1.4rem; }
}

@media (max-width: 575.98px) {
    .cro-columns { columns: 1; }
}

/*** Small additions ***/
.page-header .h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }

@media (min-width: 992px) and (max-width: 1199.98px) {
    .nav-phone { display: none; }
    .site-header .nav-link { padding: .5rem .6rem !important; font-size: .9rem; }
}

.site-header .nav-link,
.nav-actions .btn { white-space: nowrap; }

@media (min-width: 992px) {
    .site-header .nav-link { padding: .5rem .7rem !important; }
}

@media (min-width: 768px) {
    .footer-bottom { padding-right: 190px; }
}

@media (max-width: 575.98px) {
    .topbar-hide-xs { display: none; }
    .topbar .container { justify-content: space-between; flex-wrap: nowrap; font-size: .8rem; }
}

.topbar span { white-space: nowrap; }

@media (max-width: 575.98px) {
    .topbar .container { gap: .5rem; font-size: .76rem; }
    .topbar .open-pill { font-size: .76rem; }
}

/* About page photo grid */
.row.g-0 > .col-6 > img.img-fluid { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.row.g-0 { border-radius: var(--radius); overflow: hidden; }
.row.g-0 .bg-primary.mt-n5 { margin: 0 !important; padding: 1.5rem .5rem; }
.row.g-0 .display-1 { font-size: clamp(2.2rem, 6vw, 3.5rem); font-weight: 800; }
