/* ============================================================
   LOKOPALI HEALTHCARE — Front-end stylesheet
   Light, premium, medical.  No external framework.
   ============================================================ */

:root {
    --navy:        #0a2f5c;
    --navy-900:    #072544;
    --blue:        #1266c4;
    --blue-600:    #0f57ab;
    --blue-300:    #6ea8ea;
    --blue-100:    #dce9f9;
    --blue-50:     #f1f6fd;
    --gold:        #f5b301;
    --gold-soft:   #fff6dd;
    --teal:        #13a3a3;

    --ink:         #101b2d;
    --body:        #4a5a72;
    --muted:       #7b8aa1;
    --line:        #e4eaf2;
    --line-soft:   #eef2f8;
    --white:       #ffffff;
    --canvas:      #f6f9fd;

    --radius-sm:   10px;
    --radius:      16px;
    --radius-lg:   24px;
    --radius-xl:   32px;

    --shadow-xs:   0 1px 2px rgba(10,47,92,.06);
    --shadow-sm:   0 2px 10px rgba(10,47,92,.06);
    --shadow:      0 10px 30px rgba(10,47,92,.08);
    --shadow-lg:   0 24px 60px rgba(10,47,92,.12);

    --ff:          'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container:   1200px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--ff);
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-600); }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 700; line-height: 1.22; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p + p { margin-top: 1em; }
::selection { background: var(--blue-100); color: var(--navy); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(44px, 5vw, 70px) 0; }
.section--canvas { background: var(--canvas); }
.section--blue {
    background: linear-gradient(160deg, var(--blue-50) 0%, #e8f1fc 100%);
}
.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }

/* ---------- section head ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--blue); background: var(--blue-50);
    border: 1px solid var(--blue-100);
    padding: 7px 15px; border-radius: 100px; margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.sec-head { max-width: 720px; margin-bottom: 46px; }
.sec-head.center { margin-inline: auto; }
.sec-head p { margin-top: 14px; font-size: 1.03rem; color: var(--body); }
.lead { font-size: 1.08rem; color: var(--body); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 26px; border-radius: 100px; border: 1.5px solid transparent;
    font-size: .95rem; font-weight: 700; cursor: pointer; white-space: nowrap;
    transition: transform .18s ease, box-shadow .22s ease, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
    color: #fff; box-shadow: 0 10px 24px rgba(18,102,196,.28);
}
.btn-primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(18,102,196,.36); }
.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 24px rgba(245,179,1,.32); }
.btn-gold:hover { color: var(--navy-900); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--navy); box-shadow: var(--shadow-xs); }
.btn-outline:hover { border-color: var(--blue-300); color: var(--blue); background: var(--blue-50); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .86rem; }
.btn-block { width: 100%; }

/* ---------- top bar ---------- */
.topbar {
    background: var(--navy); color: rgba(255,255,255,.8);
    font-size: .84rem; padding: 9px 0;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a { color: rgba(255,255,255,.88); }
.topbar a:hover { color: var(--gold); }
.topbar ul { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar li { display: flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.topbar .social { gap: 12px; }

/* ---------- header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 900;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line-soft);
    transition: box-shadow .25s;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 46px; width: auto; object-fit: contain; }
.brand-txt strong {
    display: block; font-size: 1.12rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.15;
}
.brand-txt span { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.menu { display: flex; align-items: center; gap: 4px; }
.menu-head, .menu-cta { display: none; }
.nav-backdrop { display: none; }
.menu > li > a {
    display: block; padding: 9px 13px; border-radius: 100px;
    font-size: .92rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.menu > li > a:hover { background: var(--blue-50); color: var(--blue); }
.menu > li > a.active { background: var(--blue-50); color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle {
    display: none; width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--line); background: #fff; cursor: pointer;
    align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--navy); transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(165deg, #f4f9ff 0%, #e9f2fd 55%, #f7fbff 100%); }
.hero::before {
    content: ''; position: absolute; inset: auto -160px -320px auto; width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(18,102,196,.16), transparent 68%); border-radius: 50%;
}
.hero::after {
    content: ''; position: absolute; top: -180px; right: -120px; width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(245,179,1,.16), transparent 68%); border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
    padding: clamp(48px, 6vw, 92px) 0;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-chip {
    display: inline-flex; align-items: center; gap: 7px;
    background: #fff; border: 1px solid var(--line); border-radius: 100px;
    padding: 8px 15px; font-size: .82rem; font-weight: 600; color: var(--navy);
    box-shadow: var(--shadow-xs);
}
.hero-chip svg { width: 16px; height: 16px; color: var(--blue); }
.hero-visual { position: relative; }
.hero-visual img {
    width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3.4; object-fit: cover;
}
.hero-float {
    position: absolute; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.hero-float svg { width: 22px; height: 22px; color: var(--blue); }
.hero-float strong { display: block; font-size: 1.05rem; color: var(--ink); line-height: 1.2; }
.hero-float span { font-size: .76rem; color: var(--muted); }
.hero-float--a { left: -26px; bottom: 60px; }
.hero-float--b { right: -18px; top: 42px; }
.badge-years {
    position: absolute; right: 20px; bottom: -18px;
    background: linear-gradient(135deg, var(--gold) 0%, #e19c00 100%);
    color: var(--navy-900); border-radius: var(--radius); padding: 14px 20px;
    box-shadow: 0 14px 34px rgba(245,179,1,.4); text-align: center;
}
.badge-years b { display: block; font-size: 1.6rem; line-height: 1; }
.badge-years span { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.stat { background: #fff; padding: 30px 22px; text-align: center; }
.stat b { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.stat span { font-size: .84rem; color: var(--muted); font-weight: 600; }

/* ---------- cards ---------- */
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; transition: transform .28s ease, box-shadow .28s ease, border-color .28s;
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--blue-50); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { font-size: .93rem; }
.card-link { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .89rem; }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card-link:hover svg { transform: translateX(3px); }

/* service card with icon */
.svc {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 28px 24px; transition: transform .28s, box-shadow .28s, border-color .28s;
    position: relative; overflow: hidden;
}
.svc::after {
    content: ''; position: absolute; inset: auto -40px -60px auto; width: 140px; height: 140px;
    border-radius: 50%; background: var(--blue-50); opacity: 0; transition: opacity .3s;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.svc:hover::after { opacity: 1; }
.svc > * { position: relative; z-index: 1; }
.svc-icon {
    width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); color: var(--blue);
    margin-bottom: 18px; transition: background .3s, color .3s;
}
.svc-icon svg { width: 26px; height: 26px; }
.svc:hover .svc-icon { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.svc h3 { font-size: 1.08rem; margin-bottom: 8px; }
.svc p { font-size: .91rem; }

/* feature tile */
.feat { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.feat-ic { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--gold-soft); color: #b47f00; }
.feat-ic svg { width: 22px; height: 22px; }
.feat h4 { font-size: 1rem; margin-bottom: 4px; }
.feat p { font-size: .88rem; }

/* ---------- doctors ---------- */
.doc-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; display: grid; grid-template-columns: 190px 1fr;
    transition: transform .28s, box-shadow .28s, border-color .28s;
}
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.doc-photo { position: relative; background: linear-gradient(160deg, var(--blue-50), var(--blue-100)); padding: 12px; display: grid; place-items: center; min-height: 230px; }
.doc-photo img { width: 100%; height: 100%; max-height: 340px; object-fit: contain; border-radius: 12px; }
.doc-avatar { width: 100%; height: 100%; min-height: 210px; display: grid; place-items: center;
    font-size: 2.6rem; font-weight: 800; color: var(--blue); letter-spacing: .02em; }
.doc-info { padding: 26px 24px; }
.doc-dept {
    display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--blue); background: var(--blue-50); border-radius: 100px; padding: 5px 13px; margin-bottom: 12px;
}
.doc-info h3 { font-size: 1.3rem; margin-bottom: 4px; }
.doc-desig { font-weight: 600; color: var(--teal); font-size: .93rem; margin-bottom: 10px; }
.doc-qual { font-size: .86rem; color: var(--muted); line-height: 1.55; }
.doc-meta { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.doc-meta li { display: flex; gap: 10px; align-items: flex-start; font-size: .87rem; }
.doc-meta svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 2px; }

/* ---------- team ---------- */
.team-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
    transition: transform .28s, box-shadow .28s, border-color .28s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.team-photo { aspect-ratio: 3/4; overflow: hidden; background: linear-gradient(160deg, var(--blue-50), var(--blue-100)); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-avatar { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3rem; font-weight: 800; color: var(--blue-300); }
.team-body { padding: 18px 20px 22px; text-align: center; }
.team-body h4 { font-size: 1.05rem; margin-bottom: 3px; }
.team-body .role { font-size: .87rem; font-weight: 600; color: var(--blue); }
.team-body .qual { font-size: .79rem; color: var(--muted); margin-top: 6px; }

/* ---------- packages ---------- */
.pkg {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
    display: flex; flex-direction: column; position: relative;
    transition: transform .28s, box-shadow .28s, border-color .28s;
}
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.pkg.is-popular { border-color: var(--gold); box-shadow: 0 14px 40px rgba(245,179,1,.16); }
.pkg-tag {
    position: absolute; top: 16px; right: 16px; z-index: 2;
    background: var(--gold); color: var(--navy-900); font-size: .68rem; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase; padding: 6px 13px; border-radius: 100px;
}
.pkg-media { aspect-ratio: 16/9; overflow: hidden; background: var(--blue-50); }
.pkg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pkg:hover .pkg-media img { transform: scale(1.05); }
.pkg-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.pkg-body h3 { font-size: 1.18rem; margin-bottom: 4px; }
.pkg-sub { font-size: .86rem; color: var(--muted); }
.pkg-price { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 6px; }
.pkg-price b { font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.pkg-price del { color: var(--muted); font-size: 1rem; }
.pkg-save { font-size: .78rem; font-weight: 700; color: #1a9b6c; background: #e7f8f1; padding: 4px 10px; border-radius: 100px; }
.pkg-list { margin: 18px 0 22px; display: grid; gap: 9px; }
.pkg-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .89rem; }
.pkg-list svg { width: 17px; height: 17px; color: #1a9b6c; flex: none; margin-top: 2px; }
.pkg .btn { margin-top: auto; }

/* ---------- price list ---------- */
.price-tools {
    display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 12px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px; box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.price-tools-2 { grid-template-columns: 1fr auto; }
.price-tools-3 { grid-template-columns: 1fr auto auto; }
.price-tools-4 { grid-template-columns: 1.5fr 1fr 1fr auto; }
input, select, textarea { min-width: 0; max-width: 100%; }
.field { position: relative; }
.field svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.field input, .field select { width: 100%; padding: 13px 16px 13px 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.field select { padding-left: 16px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b8aa1' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 17px; }
.field input:focus, .field select:focus { border-color: var(--blue-300); background: #fff; box-shadow: 0 0 0 4px var(--blue-50); }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cat-pill {
    padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line); background: #fff;
    font-size: .85rem; font-weight: 600; color: var(--body); cursor: pointer; transition: .2s;
}
.cat-pill:hover { border-color: var(--blue-300); color: var(--blue); }
.cat-pill.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.cat-pill i { font-style: normal; opacity: .6; font-size: .78rem; margin-left: 4px; }

.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.table-scroll { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
table.tbl th {
    text-align: left; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted); background: var(--canvas); padding: 14px 20px; border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
table.tbl td { padding: 15px 20px; border-bottom: 1px solid var(--line-soft); font-size: .93rem; vertical-align: middle; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: var(--blue-50); }
table.tbl .t-name { font-weight: 600; color: var(--ink); }
table.tbl .t-price { font-weight: 800; color: var(--navy); white-space: nowrap; text-align: right; }
.tag {
    display: inline-block; font-size: .74rem; font-weight: 600; padding: 4px 11px; border-radius: 100px;
    background: var(--blue-50); color: var(--blue-600); white-space: nowrap;
}
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.pager a, .pager span {
    min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 11px; border: 1px solid var(--line); background: #fff; font-size: .89rem; font-weight: 600; color: var(--body);
}
.pager a:hover { border-color: var(--blue-300); color: var(--blue); }
.pager .current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .dots { border: 0; background: transparent; }

/* ---------- gallery ---------- */
.gal { columns: 4; column-gap: 18px; }
.gal figure { break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; box-shadow: var(--shadow-xs); border: 1px solid var(--line); }
.gal img { width: 100%; transition: transform .5s; }
.gal figure:hover img { transform: scale(1.04); }
.gal figcaption {
    position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; color: #fff; font-size: .85rem; font-weight: 600;
    background: linear-gradient(transparent, rgba(7,37,68,.85)); opacity: 0; transition: opacity .3s;
}
.gal figure:hover figcaption { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(7,20,38,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.lightbox-close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ---------- about / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; object-fit: cover; }
.check-list { display: grid; gap: 12px; margin-top: 24px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; }
.check-list svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }

/* chairman */
.chair {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
    padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow);
    display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center;
}
.chair-photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3/4; object-fit: cover; object-position: top center; }
.chair-quote svg { width: 40px; height: 40px; color: var(--blue-100); margin-bottom: 12px; }
.chair-quote p { font-size: 1.02rem; color: var(--body); }
.chair-sign { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.chair-sign strong { display: block; font-size: 1.1rem; color: var(--navy); }
.chair-sign span { font-size: .87rem; color: var(--muted); }

/* ---------- testimonials ---------- */
.tst { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 17px; height: 17px; color: var(--gold); fill: var(--gold); }
.tst p { font-size: .95rem; }
.tst-by { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.tst-av { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.tst-by strong { display: block; font-size: .94rem; color: var(--ink); }
.tst-by span { font-size: .8rem; color: var(--muted); }

/* ---------- cta band ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-600) 100%);
    border-radius: var(--radius-xl); padding: clamp(34px, 5vw, 60px);
    color: #fff; position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center;
}
.cta-band::before { content: ''; position: absolute; top: -120px; right: -80px; width: 380px; height: 380px; border-radius: 50%; background: rgba(245,179,1,.16); }
.cta-band::after { content: ''; position: absolute; bottom: -160px; left: -60px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.06); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); margin-top: 10px; max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- page hero ---------- */
.page-hero {
    background: linear-gradient(160deg, #f4f9ff 0%, #e9f2fd 100%);
    padding: clamp(44px, 6vw, 76px) 0; border-bottom: 1px solid var(--line-soft);
    position: relative; overflow: hidden;
}
.page-hero::after { content: ''; position: absolute; top: -140px; right: -100px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(245,179,1,.14), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-top: 12px; }
.crumbs a { color: var(--blue); }
.crumbs span { opacity: .55; }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.form-group label .req { color: #d94a4a; }
.form-control {
    width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
    background: var(--canvas); outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-control:focus { border-color: var(--blue-300); background: #fff; box-shadow: 0 0 0 4px var(--blue-50); }
textarea.form-control { min-height: 118px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b8aa1' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 17px; padding-right: 40px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; }
.check-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.hint { font-size: .8rem; color: var(--muted); }

.alert { padding: 14px 18px; border-radius: 12px; font-size: .92rem; font-weight: 600; margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start; }
.alert svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.alert-success { background: #e7f8f1; color: #10704f; border: 1px solid #bfe9d8; }
.alert-error { background: #fdeceb; color: #a83228; border: 1px solid #f6cdc9; }
.alert-info { background: var(--blue-50); color: var(--blue-600); border: 1px solid var(--blue-100); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 20px; }
.info-item { display: flex; gap: 14px; }
.info-ic { width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.info-ic svg { width: 21px; height: 21px; }
.info-item h4 { font-size: .95rem; margin-bottom: 3px; }
.info-item p, .info-item a { font-size: .9rem; color: var(--body); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* centre list */
.centre { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: .25s; }
.centre:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.centre h4 { font-size: 1.02rem; margin-bottom: 3px; }
.centre .type { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.centre p { font-size: .87rem; margin-top: 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.68); padding-top: 66px; margin-top: 0; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: .01em; }
.site-footer a { color: rgba(255,255,255,.68); font-size: .91rem; }
.site-footer a:hover { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 46px; }
.foot-brand img { height: 54px; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 18px; }
.foot-brand p { font-size: .92rem; max-width: 330px; }
.foot-links { display: grid; gap: 11px; }
.foot-contact { display: grid; gap: 14px; }
.foot-contact li { display: flex; gap: 11px; font-size: .91rem; }
.foot-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 2px; }
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.foot-social a:hover { background: var(--gold); color: var(--navy-900); }
.foot-social svg { width: 18px; height: 18px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .85rem; }

/* ---------- floating whatsapp ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 22px; z-index: 950;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center;
    box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty svg { width: 42px; height: 42px; margin: 0 auto 14px; color: var(--blue-300); }

/* ---------- responsive ---------- */
@media (max-width: 1400px) {
    .menu > li > a { padding: 9px 9px; font-size: .86rem; }
    .brand img { height: 40px; }
    .brand-txt strong { font-size: 1rem; }
}
@media (max-width: 1300px) {
    /* the Book a Test button is repeated in the quick bar below, so drop it
       early rather than let the header overflow the viewport */
    .nav-book { display: none; }
}
@media (max-width: 1080px) {
    .g-4 { grid-template-columns: repeat(3, 1fr); }
    .gal { columns: 3; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .hero-float--a { left: 10px; }
    .hero-float--b { right: 10px; }
}
/* ---------- mobile / tablet slide-in menu ---------- */
body.nav-open { overflow: hidden; }

@media (max-width: 1080px) {
    /* a backdrop-filter makes the header the containing block for anything
       fixed inside it — which used to drop the closed menu on top of the
       contact bar. Plain background on small screens, so the drawer is
       positioned against the viewport instead. */
    .site-header { backdrop-filter: none; background: #fff; z-index: 1200; }

    .nav-toggle { display: flex; }

    .nav-backdrop {
        display: block; position: fixed; inset: 0; z-index: 10;
        background: rgba(8, 24, 46, .5);
        opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    }
    .nav-backdrop.show { opacity: 1; visibility: visible; }

    .menu {
        position: fixed; top: 0; right: 0; bottom: 0; left: auto;
        width: min(88vw, 340px); height: 100vh; height: 100dvh;
        display: flex; flex-direction: column; align-items: stretch; gap: 2px;
        background: #fff; box-shadow: -20px 0 60px rgba(8, 24, 46, .25);
        padding: 0 16px calc(26px + env(safe-area-inset-bottom, 0px));
        transform: translateX(102%); visibility: hidden;
        transition: transform .34s cubic-bezier(.3,.8,.3,1), visibility .34s;
        z-index: 20; overflow-y: auto; overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .menu.open { transform: none; visibility: visible; }
    .menu > li:not(.menu-cta) > a { padding: 13px 14px; border-radius: 12px; font-size: 1rem; }

    .menu-head {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        position: sticky; top: 0; z-index: 2; background: #fff;
        padding: 15px 0 12px; margin-bottom: 8px;
        border-bottom: 1px solid var(--line-soft);
    }
    .menu-head strong {
        font-size: .74rem; font-weight: 800; letter-spacing: .14em;
        text-transform: uppercase; color: var(--muted);
    }
    .menu-close {
        width: 42px; height: 42px; flex: none; border-radius: 12px;
        border: 1px solid var(--line); background: #fff; color: var(--navy);
        display: grid; place-items: center; cursor: pointer; transition: .2s;
    }
    .menu-close:hover, .menu-close:focus-visible {
        background: var(--blue-50); color: var(--blue); border-color: var(--blue-100);
    }
    .menu-close svg { width: 20px; height: 20px; }

    .menu-cta {
        display: block; margin-top: 18px; padding-top: 16px;
        border-top: 1px solid var(--line-soft);
    }
    .menu-cta .btn {
        display: inline-flex; align-items: center; justify-content: center; gap: 9px;
        width: 100%; padding: 13px 20px; border-radius: 100px;
        font-size: .95rem; font-weight: 700; white-space: nowrap;
    }
    .menu-cta .btn + .btn { margin-top: 10px; }
    .menu-cta .btn svg { width: 18px; height: 18px; flex: none; }

    .nav-cta .btn { display: none; }
    .nav-cta .btn-call { display: inline-flex; }
}
@media (max-width: 900px) {
    .hero-grid, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
    .form-card, .info-card, .form-grid { min-width: 0; }
    .hero-visual { order: -1; }
    .chair { grid-template-columns: 1fr; gap: 26px; }
    .chair-photo { max-width: 260px; margin-inline: auto; }
    .cta-band { grid-template-columns: 1fr; }
    .g-3 { grid-template-columns: repeat(2, 1fr); }
    .price-tools, .price-tools-2, .price-tools-3, .price-tools-4 { grid-template-columns: 1fr; }
    .price-tools .btn { width: 100%; justify-content: center; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .doc-card { grid-template-columns: 1fr; }
    .doc-photo { min-height: 0; padding: 18px; }
    .doc-photo img { max-height: 300px; width: auto; margin-inline: auto; }
    .topbar .container { justify-content: center; }
    .topbar .social { display: none; }
}
@media (max-width: 680px) {
    .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
    .gal { columns: 2; }
    .form-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .topbar { padding: 7px 0; }
    .topbar ul { gap: 5px 16px; font-size: .78rem; justify-content: center; text-align: center; }
    .topbar li { max-width: 100%; }
    .topbar a, .topbar span { overflow-wrap: anywhere; }
    .nav { height: 68px; }
    .hero-float { display: none; }
    .badge-years { right: 12px; }
    .section { padding: 52px 0; }
    table.tbl th, table.tbl td { padding: 12px 14px; }

    /* wide data tables become stacked cards — no sideways scrolling
       and the price / action column is never cut off */
    .table-scroll { overflow-x: visible; }
    table.tbl:not(.tbl-flat) { min-width: 0; }
    table.tbl:not(.tbl-flat) thead { display: none; }
    table.tbl:not(.tbl-flat),
    table.tbl:not(.tbl-flat) tbody,
    table.tbl:not(.tbl-flat) tr,
    table.tbl:not(.tbl-flat) td { display: block; width: auto; }
    table.tbl:not(.tbl-flat) tr {
        padding: 15px 16px 16px; border-bottom: 1px solid var(--line-soft);
    }
    table.tbl:not(.tbl-flat) tr:last-child { border-bottom: 0; }
    table.tbl:not(.tbl-flat) td {
        padding: 4px 0 !important; border: 0 !important; text-align: left !important;
        max-width: none !important; min-width: 0; overflow-wrap: anywhere;
    }
    table.tbl:not(.tbl-flat) td::before {
        content: attr(data-th); display: block; margin-bottom: 3px;
        font-size: .68rem; font-weight: 800; letter-spacing: .09em;
        text-transform: uppercase; color: var(--muted);
    }
    table.tbl:not(.tbl-flat) td.sm-hide { display: none; }
    table.tbl:not(.tbl-flat) td.t-name { font-size: 1.02rem; font-weight: 700; line-height: 1.4; }
    table.tbl:not(.tbl-flat) td.t-price { font-size: 1.05rem; font-weight: 800; color: var(--navy); }
    table.tbl:not(.tbl-flat) td.cell-action { padding-top: 10px !important; }
    table.tbl:not(.tbl-flat) td.cell-action .btn { width: 100%; justify-content: center; }
    table.tbl.tbl-flat td { padding: 12px 14px; }

    /* price / test tables: name on top, then tag + price + button in one row */
    table.tbl.tbl-compact tr {
        display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center; gap: 6px 10px; padding: 13px 14px;
    }
    table.tbl.tbl-compact td { padding: 0 !important; }
    table.tbl.tbl-compact td::before { display: none; }
    table.tbl.tbl-compact td.t-name { grid-column: 1 / -1; font-size: .97rem; }
    table.tbl.tbl-compact td.t-price { justify-self: end; font-size: 1rem; }
    table.tbl.tbl-compact td.cell-action { justify-self: end; padding: 0 !important; }
    table.tbl.tbl-compact td.cell-action .btn { width: auto; padding: 8px 15px; font-size: .82rem; }
    table.tbl.tbl-compact .tag { font-size: .7rem; }
}
@media (max-width: 460px) {
    .form-card, .info-card { padding: 18px 16px; }
    .topbar { font-size: .74rem; }
    .topbar svg { width: 13px; height: 13px; }
    .brand img { height: 34px; }
    .brand-txt strong { font-size: .95rem; }
    .brand-txt span { font-size: .62rem; }
    .gal { columns: 1; }
    .stats { grid-template-columns: 1fr; }
    .btn { padding: 12px 20px; font-size: .9rem; }
}

@media print {
    .topbar, .site-header, .site-footer, .wa-float, .btn, .price-tools, .cat-pills, .pager { display: none !important; }
    body { background: #fff; }
}

/* ============================================================
   v2 — slider, quick bar, cart, concerns, blog, checkout
   ============================================================ */

:root { --green: #16a37b; --green-50: #e7f8f1; }

/* ---------- submenu ---------- */
.menu .has-sub { position: relative; }
.menu .has-sub > a { display: flex; align-items: center; gap: 5px; }
.menu .caret { width: 15px; height: 15px; transform: rotate(90deg); opacity: .55; transition: transform .2s; }
.menu .has-sub:hover .caret { transform: rotate(-90deg); }
.submenu {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 8px; display: grid; gap: 2px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.menu .has-sub:hover .submenu,
.menu .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 9px 13px; border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.submenu a:hover, .submenu a.active { background: var(--blue-50); color: var(--blue); }

/* ---------- hero slider ---------- */
.hero-slider { position: relative; }
.hero-slide { display: none; }
.hero-slide.on { display: block; animation: slideIn .6s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy .eyebrow { background: #fff; }
.slider-ui {
    position: absolute; left: 50%; transform: translateX(-50%); bottom: 26px;
    display: flex; align-items: center; justify-content: center; gap: 16px; z-index: 5;
    pointer-events: none;
}
.slider-ui > * { pointer-events: auto; }
.slider-arrow {
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
    background: rgba(255,255,255,.9); color: var(--navy); cursor: pointer;
    display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: .2s;
}
.slider-arrow:hover { background: #fff; color: var(--blue); border-color: var(--blue-300); }
.slider-arrow svg { width: 18px; height: 18px; }
.slider-arrow.prev svg { transform: rotate(180deg); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
    width: 9px; height: 9px; padding: 0; border-radius: 100px; border: 0; cursor: pointer;
    background: var(--blue-300); opacity: .5; transition: .25s;
}
.slider-dots button.on { opacity: 1; width: 26px; background: var(--navy); }

/* ---------- quick action bar ---------- */
.quick-wrap { position: relative; z-index: 6; margin-top: -32px; }
.quick-bar {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(6, 1fr); overflow: hidden;
}
.quick-bar a {
    display: flex; flex-direction: column; align-items: center; gap: 9px;
    padding: 22px 12px; font-size: .84rem; font-weight: 700; color: var(--ink);
    text-align: center; border-right: 1px solid var(--line-soft); transition: .22s;
}
.quick-bar a:last-child { border-right: 0; }
.quick-bar a:hover { background: var(--blue-50); color: var(--blue); transform: translateY(-2px); }
.quick-bar span {
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); color: var(--blue); transition: .22s;
}
.quick-bar a:hover span { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.quick-bar svg { width: 22px; height: 22px; }

/* ---------- cart button in header ---------- */
.cart-btn {
    position: relative; width: 44px; height: 44px; border-radius: 13px;
    border: 1px solid var(--line); background: #fff; color: var(--navy);
    display: grid; place-items: center; transition: .2s; flex: none;
}
.cart-btn:hover { border-color: var(--blue-300); color: var(--blue); background: var(--blue-50); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-count {
    position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: 100px; background: var(--gold); color: var(--navy-900);
    font-size: .7rem; font-weight: 800; display: none; align-items: center; justify-content: center;
}
.cart-btn.has .cart-count { display: flex; }

/* ---------- add-to-cart button state ---------- */
.btn-added { background: var(--green-50); color: var(--green); border-color: #bfe9d8; }
.btn-added:hover { background: var(--green); color: #fff; }
.btn.pulse { animation: pop .45s ease; }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.09); } 100% { transform: scale(1); } }

/* ---------- toast ---------- */
.toast {
    position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 24px);
    background: var(--navy-900); color: #fff; padding: 13px 24px; border-radius: 100px;
    font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transition: .3s cubic-bezier(.3,.9,.3,1); z-index: 1500;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast.bad { background: #b3392f; }

/* ---------- floating stack ---------- */
.float-stack { position: fixed; right: 20px; bottom: 22px; z-index: 950; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.float-stack .wa-float { position: static; }
.float-cart {
    display: flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 100px;
    background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff;
    font-size: .89rem; font-weight: 700; box-shadow: 0 14px 32px rgba(18,102,196,.42);
    transition: transform .2s;
}
.float-cart:hover { color: #fff; transform: translateY(-2px); }
.float-cart svg { width: 19px; height: 19px; }
.float-cart svg:last-child { width: 16px; height: 16px; opacity: .8; }

/* ---------- test cards (book a test) ---------- */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.test-card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 22px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.test-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.test-card h3 { font-size: 1.02rem; margin: 10px 0 12px; line-height: 1.35; }
.test-tag {
    position: absolute; top: -10px; right: 16px; display: inline-flex; align-items: center; gap: 5px;
    background: var(--gold); color: var(--navy-900); font-size: .68rem; font-weight: 800;
    padding: 4px 11px; border-radius: 100px; letter-spacing: .04em;
}
.test-tag svg { width: 13px; height: 13px; }
.test-meta { display: grid; gap: 7px; margin-bottom: 18px; }
.test-meta li { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.test-meta svg { width: 15px; height: 15px; color: var(--blue-300); flex: none; }
.test-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.test-price b { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }

/* ---------- packages strip on book page ---------- */
.strip { background: linear-gradient(150deg, var(--blue-50), #eaf3fd); border: 1px solid var(--blue-100); border-radius: var(--radius-xl); padding: 26px; margin-bottom: 30px; }
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.strip-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-pkg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .22s; }
.mini-pkg:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.mini-pkg img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.mini-pkg-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.mini-pkg h4 { font-size: .95rem; line-height: 1.3; }
.mini-pkg-sub { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.mini-pkg-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mini-pkg-foot b { font-size: 1.1rem; color: var(--navy); font-weight: 800; }

/* ---------- concern note ---------- */
.concern-note {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--blue-100); border-left: 4px solid var(--blue);
    border-radius: var(--radius); padding: 18px 22px; margin-bottom: 24px; box-shadow: var(--shadow-xs);
}
.concern-note h3 { font-size: 1.05rem; }
.concern-note p { font-size: .88rem; margin-top: 2px; }
.concern-note > div:nth-child(2) { flex: 1; min-width: 220px; }
.concern-note-ic { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.concern-note-ic svg { width: 23px; height: 23px; }

/* ---------- concerns ---------- */
.concern-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.concern-tile {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 26px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.concern-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.concern-tile strong { font-size: .98rem; color: var(--ink); }
.concern-ic {
    width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 8px;
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); color: var(--blue); transition: .25s;
}
.concern-ic svg { width: 26px; height: 26px; }
.concern-tile:hover .concern-ic { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }

.concern-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .28s, box-shadow .28s, border-color .28s; }
.concern-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.concern-media { aspect-ratio: 16/9; overflow: hidden; background: var(--blue-50); }
.concern-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.concern-card:hover .concern-media img { transform: scale(1.05); }
.concern-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.concern-body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.concern-body p { font-size: .9rem; }
.concern-link { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .87rem; color: var(--blue); }
.concern-link svg { width: 16px; height: 16px; }

/* ---------- popular tests ---------- */
.pop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pop-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; transition: .25s; }
.pop-card:hover { box-shadow: var(--shadow); border-color: var(--blue-100); transform: translateY(-3px); }
.pop-card h4 { font-size: .95rem; margin: 10px 0 0; line-height: 1.35; }
.pop-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pop-foot b { font-size: 1.15rem; font-weight: 800; color: var(--navy); }

/* ---------- scans ---------- */
.scan-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: .28s; }
.scan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.scan-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--blue-50); }
.scan-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.scan-card:hover .scan-media img { transform: scale(1.05); }
.scan-ic { position: absolute; left: 16px; bottom: -20px; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.scan-ic svg { width: 23px; height: 23px; }
.scan-body { padding: 32px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.scan-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.scan-body p { font-size: .89rem; }

/* ---------- cart page ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 370px; gap: 30px; align-items: start; }
.cart-list { display: grid; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto auto auto; gap: 16px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.cart-item:last-child { border-bottom: 0; }
.cart-item-ic { width: 56px; height: 56px; border-radius: 14px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; overflow: hidden; }
.cart-item-ic svg { width: 24px; height: 24px; }
.cart-item-ic img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-main h4 { font-size: .98rem; margin-bottom: 6px; line-height: 1.35; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; background: var(--canvas); }
.cart-qty button { width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; color: var(--navy); display: grid; place-items: center; }
.cart-qty button:hover { background: var(--blue-50); color: var(--blue); }
.cart-qty svg { width: 15px; height: 15px; }
.cart-qty span { min-width: 30px; text-align: center; font-weight: 700; font-size: .92rem; }
.cart-item-price { text-align: right; min-width: 92px; }
.cart-item-price b { font-size: 1.05rem; color: var(--navy); font-weight: 800; }
.cart-item-price span { display: block; font-size: .76rem; color: var(--muted); }
.cart-del { width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.cart-del:hover { background: #fdeceb; color: #d64545; }
.cart-del svg { width: 17px; height: 17px; }

.suggest-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.suggest-row:last-child { border-bottom: 0; }
.suggest-row strong { display: block; font-size: .92rem; color: var(--ink); margin-bottom: 4px; }
.suggest-row b { font-size: 1rem; color: var(--navy); }

.cart-summary {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
    padding: 26px; box-shadow: var(--shadow-sm); position: sticky; top: 100px;
}
.cart-summary h3 { font-size: 1.12rem; margin-bottom: 18px; }
.summary-home { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.summary-items { display: grid; gap: 10px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); max-height: 260px; overflow-y: auto; }
.summary-items li { display: flex; justify-content: space-between; gap: 14px; font-size: .88rem; }
.summary-items b { color: var(--ink); white-space: nowrap; }
.summary-lines { display: grid; gap: 11px; }
.summary-lines > div { display: flex; justify-content: space-between; gap: 14px; font-size: .93rem; }
.summary-lines dt { color: var(--body); }
.summary-lines dd { font-weight: 700; color: var(--ink); }
.summary-total { padding-top: 13px; border-top: 1px solid var(--line); }
.summary-total dt { font-weight: 800; color: var(--ink); font-size: 1.02rem; }
.summary-total dd { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.summary-note { margin-top: 14px; display: flex; align-items: flex-start; gap: 8px; background: var(--gold-soft); border: 1px solid #f2dfa8; color: #8a6400; padding: 11px 14px; border-radius: 11px; font-size: .84rem; font-weight: 600; }
.summary-note svg { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.summary-trust { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line); }
.summary-trust li { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); }
.summary-trust svg { width: 16px; height: 16px; color: var(--blue-300); flex: none; margin-top: 2px; }

/* ---------- checkout ---------- */
.co-step { display: flex; align-items: center; gap: 12px; font-size: 1.12rem; margin: 30px 0 18px; }
.co-step:first-child { margin-top: 0; }
.co-step span {
    width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff;
    display: grid; place-items: center; font-size: .82rem; font-weight: 800; flex: none;
}
.pick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pick {
    display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer;
    border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--canvas); transition: .2s;
}
.pick:hover { border-color: var(--blue-300); }
.pick.on { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(18,102,196,.1); }
.pick input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.pick svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.pick span { font-size: .92rem; }
.pick .hint { font-size: .79rem; }

/* ---------- payment page ---------- */
.pay-ic { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 20px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.pay-ic svg { width: 30px; height: 30px; }
.pay-amount { font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 800; color: var(--navy); letter-spacing: -.03em; }

/* ---------- order confirmed ---------- */
.ok-ic { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--green-50); color: var(--green); }
.ok-ic svg { width: 36px; height: 36px; }
.receipt { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--canvas); }
.receipt-head { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; background: #fff; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.receipt-head strong { display: block; font-size: 1rem; color: var(--ink); }
.receipt .tbl { background: #fff; }
.receipt-foot { display: grid; gap: 10px; padding: 18px 20px; border-top: 1px solid var(--line); background: #fff; }
.chip-line { display: flex; align-items: flex-start; gap: 9px; font-size: .89rem; }
.chip-line svg { width: 17px; height: 17px; color: var(--blue); flex: none; margin-top: 2px; }
.next-steps { margin-top: 28px; }
.next-steps h3 { font-size: 1.08rem; margin-bottom: 14px; }
.next-steps ol { display: grid; gap: 12px; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; }
.next-steps span { width: 26px; height: 26px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-size: .78rem; font-weight: 800; flex: none; }

/* ---------- centre finder ---------- */
.centre-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; transition: .25s; }
.centre-card:hover { box-shadow: var(--shadow); border-color: var(--blue-100); transform: translateY(-3px); }
.centre-card-top { display: flex; gap: 14px; margin-bottom: 16px; }
.centre-ic { width: 46px; height: 46px; border-radius: 14px; flex: none; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.centre-ic svg { width: 22px; height: 22px; }
.centre-card h3 { font-size: 1.12rem; margin: 2px 0; }
.centre-meta { display: grid; gap: 9px; padding: 16px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.centre-meta li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.centre-meta svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 2px; }
.centre-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- blog ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: .28s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.post-media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--blue-50); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-cat { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); color: var(--navy); font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 100px; }
.post-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-body h3 { font-size: 1.08rem; line-height: 1.35; margin-bottom: 10px; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--blue); }
.post-body p { font-size: .89rem; }
.post-meta { margin-top: auto; padding-top: 16px; display: flex; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.post-meta span { display: flex; align-items: center; gap: 6px; }
.post-meta svg { width: 14px; height: 14px; }

.post-byline { display: flex; align-items: center; gap: 12px; margin: 24px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-byline strong { display: block; font-size: .94rem; color: var(--ink); }
.post-byline span { font-size: .82rem; color: var(--muted); }
.post-hero { width: 100%; border-radius: var(--radius-xl); margin-bottom: 30px; aspect-ratio: 16/8; object-fit: cover; box-shadow: var(--shadow); }
.post-content { font-size: 1.03rem; line-height: 1.78; }
.post-content h2 { font-size: 1.45rem; margin: 34px 0 12px; }
.post-content h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.post-content p { margin-bottom: 16px; }
.post-content strong { color: var(--ink); }
.post-list { display: grid; gap: 9px; margin: 0 0 18px; padding-left: 4px; }
.post-list li { display: flex; gap: 10px; }
.post-list li::before { content: '•'; color: var(--blue); font-weight: 800; }
.post-cta {
    margin-top: 40px; padding: 28px; border-radius: var(--radius-xl);
    background: linear-gradient(140deg, var(--blue-50), #e8f1fc); border: 1px solid var(--blue-100);
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.post-cta h3 { font-size: 1.2rem; margin-bottom: 6px; }
.post-cta p { font-size: .92rem; }

/* ---------- v2 responsive ---------- */
@media (max-width: 1240px) {
    .quick-bar { grid-template-columns: repeat(3, 1fr); }
    .quick-bar a:nth-child(3) { border-right: 0; }
}
@media (max-width: 1080px) {
    .test-grid, .pop-grid { grid-template-columns: repeat(2, 1fr); }
    .concern-grid { grid-template-columns: repeat(3, 1fr); }
    .strip-row { grid-template-columns: repeat(2, 1fr); }
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .submenu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0;
        margin: 4px 0 4px 14px; padding: 0 0 0 8px; display: none;
    }
    .menu .has-sub.open .submenu { display: grid; }
    .menu .caret { margin-left: auto; }
}
@media (max-width: 900px) {
    .nav-book { display: none; }
    .quick-wrap { margin-top: 0; padding-top: 26px; }
    .slider-ui { position: static; transform: none; padding-top: 4px; padding-bottom: 26px; }
}
@media (max-width: 680px) {
    .test-grid, .pop-grid, .concern-grid, .strip-row { grid-template-columns: 1fr; }
    .quick-bar { grid-template-columns: repeat(2, 1fr); }
    .quick-bar a { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 18px 10px; }
    .quick-bar a:nth-child(odd) { border-right: 1px solid var(--line-soft); }
    .pick-row { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 46px 1fr auto; row-gap: 12px; }
    .cart-item-ic { width: 46px; height: 46px; }
    .cart-item-main { grid-column: 2 / -1; }
    .cart-qty { grid-column: 2; }
    .cart-item-price { grid-column: 3; }
    .cart-del { grid-column: 3; grid-row: 1; justify-self: end; }
    .float-cart span { display: none; }
    .float-cart { width: 58px; height: 58px; justify-content: center; border-radius: 50%; padding: 0; }
    .float-cart svg:last-child { display: none; }
    .post-cta { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   v3 — wide banner hero carousel (doctor & instrument imagery)
   ============================================================ */

.hero-banner {
    padding: 20px 0 0;
    background: linear-gradient(165deg, #f4f9ff 0%, #eaf2fd 100%);
}

.banner {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: var(--navy-900);
    box-shadow: 0 26px 60px rgba(10, 47, 92, .22);
    width: 100%;
    height: clamp(470px, 39vw, 580px);
}

/* ---- slides ---- */
.banner-slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity .8s ease, visibility .8s ease;
}
.banner-slide.on { opacity: 1; visibility: visible; }
.banner-slide img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    transform: scale(1.08);
    transition: transform 9s ease-out;
}
.banner-slide.on img { transform: scale(1); }

.banner-shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(96deg,
            rgba(7,37,68,.95) 0%,
            rgba(7,37,68,.90) 30%,
            rgba(7,37,68,.62) 52%,
            rgba(7,37,68,.20) 74%,
            rgba(7,37,68,.06) 100%),
        linear-gradient(to top, rgba(7,37,68,.45), transparent 45%);
}

/* ---- copy ---- */
.banner-inner {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    padding-bottom: 58px;              /* clears the dots / arrows row */
}
.banner-copy {
    max-width: 700px;
    padding: 0 clamp(24px, 4vw, 58px);
    color: #fff;
}
.banner-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .74rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
    padding: 8px 16px; border-radius: 100px; margin-bottom: 20px;
}
.banner-badge svg { width: 15px; height: 15px; color: var(--gold); }
.banner-copy > * { position: relative; z-index: 2; }
.banner-copy h1 {
    color: #fff;
    font-size: clamp(1.75rem, 2.9vw, 2.65rem);
    line-height: 1.14;
    letter-spacing: -.025em;
    margin-bottom: 14px;
    text-shadow: 0 2px 18px rgba(0,0,0,.28);
}
.banner-copy p {
    color: rgba(255,255,255,.9);
    font-size: clamp(.95rem, 1.15vw, 1.07rem);
    max-width: 520px;
    text-shadow: 0 1px 12px rgba(0,0,0,.3);
}
.banner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.banner-actions .btn-ghost-light {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(6px);
    border-color: rgba(255,255,255,.45);
}

.banner-chips {
    display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px;
}
.banner-chips li {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(6px);
    color: rgba(255,255,255,.95);
    font-size: .8rem; font-weight: 600;
    padding: 7px 14px; border-radius: 100px;
}
.banner-chips svg { width: 15px; height: 15px; color: var(--gold); }

/* ---- controls ---- */
.banner-arrow {
    position: absolute; bottom: 22px;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
    color: #fff; cursor: pointer; z-index: 4;
    display: grid; place-items: center;
    transition: background .2s, transform .2s, border-color .2s;
}
.banner-arrow:hover { background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.6); }
.banner-arrow svg { width: 20px; height: 20px; }
.banner-arrow.prev { right: 78px; }
.banner-arrow.prev svg { transform: rotate(180deg); }
.banner-arrow.next { right: 24px; }
.banner-arrow:hover { transform: scale(1.07); }

.banner-dots {
    position: absolute; left: clamp(24px, 4vw, 58px); bottom: 34px;
    display: flex; gap: 9px; z-index: 4;
}
.banner-dots button {
    width: 10px; height: 10px; padding: 0; border: 0; border-radius: 100px;
    background: rgba(255,255,255,.45); cursor: pointer;
    transition: width .3s, background .3s;
}
.banner-dots button:hover { background: rgba(255,255,255,.75); }
.banner-dots button.on { width: 30px; background: var(--gold); }

/* ---- years badge ---- */
.banner-years {
    position: absolute; right: 24px; top: 24px; z-index: 4;
    background: linear-gradient(135deg, var(--gold) 0%, #e19c00 100%);
    color: var(--navy-900);
    border-radius: 18px; padding: 14px 20px; text-align: center;
    box-shadow: 0 14px 34px rgba(245,179,1,.42);
}
.banner-years b { display: block; font-size: 1.75rem; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.banner-years span { font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.25; display: block; margin-top: 3px; }

/* ---- quick bar now sits below the banner, not overlapping it ---- */
.hero-banner + .quick-wrap { margin-top: 0; padding-top: 22px; }

@media (max-width: 1080px) {
    .banner { height: clamp(450px, 54vw, 520px); }
    .banner-copy { max-width: 100%; }
    .banner-arrow { width: 40px; height: 40px; }
    .banner-arrow.prev { right: 70px; }
    .banner-arrow.next { right: 20px; }
    .banner-years { right: 18px; top: 18px; padding: 11px 16px; }
    .banner-years b { font-size: 1.45rem; }
}
@media (max-width: 760px) {
    .hero-banner { padding-top: 14px; }
    .banner { height: auto; border-radius: 20px; }
    .banner-slide { position: absolute; }
    .banner-slide.on { position: relative; }
    .banner-slide img { position: absolute; inset: 0; }
    .banner-slide img { object-position: 68% center; }
    .banner-shade {
        background: linear-gradient(to top,
            rgba(7,37,68,.97) 0%, rgba(7,37,68,.94) 38%, rgba(7,37,68,.70) 62%, rgba(7,37,68,.28) 100%);
    }
    .banner-inner { position: relative; inset: auto; padding-bottom: 0; }
    .banner-copy { padding: 168px 22px 96px; }
    .banner-copy h1 { font-size: clamp(1.6rem, 6.6vw, 2.1rem); }
    .banner-copy p { font-size: .92rem; }
    .banner-actions { margin-top: 22px; }
    .banner-actions .btn { flex: 1 1 auto; justify-content: center; }
    .banner-chips { margin-top: 18px; }
    .banner-chips li { font-size: .74rem; padding: 6px 11px; }
    .banner-dots { left: 22px; bottom: 30px; }
    .banner-arrow { bottom: 22px; width: 38px; height: 38px; }
    .banner-arrow.prev { right: 68px; }
    .banner-arrow.next { right: 20px; }
    .banner-years { display: none; }
}

/* very narrow phones — keep the header inside the viewport */
@media (max-width: 400px) {
    .container { padding-inline: 16px; }
    .nav { gap: 10px; }
    .brand { gap: 8px; }
    .brand img { height: 34px; }
    .brand-txt strong { font-size: .92rem; }
    .brand-txt span { font-size: .6rem; letter-spacing: .1em; }
    .nav-cta { gap: 7px; }
    .cart-btn { width: 40px; height: 40px; }
    .nav-toggle { width: 40px; height: 40px; }
}

/* ============================================================
   v3 — test/package icons, doctor-slot picker, AI chat widget
   ============================================================ */

/* icon on top of every test card + a small icon inside the department tag */
.test-ic {
    width: 46px; height: 46px; border-radius: 14px; margin-bottom: 10px;
    display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); color: var(--blue);
}
.test-ic svg { width: 23px; height: 23px; }
.test-card:hover .test-ic { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }

/* a hand-picked photo icon (assets/img/test_icons/) gets more room than the plain sprite */
.test-ic.has-img {
    width: 68px; height: 68px; padding: 0; background: var(--blue-50); overflow: hidden;
}
.test-ic.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.test-card:hover .test-ic.has-img { background: var(--blue-50); }
.tag svg.ic-sm { width: 12px; height: 12px; margin-right: 4px; vertical-align: -2px; }

/* icon above the title on package cards (full page + book-test strip) */
.pkg-ic, .mini-pkg .pkg-ic {
    width: 48px; height: 48px; border-radius: 14px; margin-bottom: 10px;
    display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); color: var(--blue);
}
.pkg-ic svg { width: 24px; height: 24px; }
.mini-pkg .pkg-ic { width: 38px; height: 38px; margin-bottom: 6px; }
.mini-pkg .pkg-ic svg { width: 19px; height: 19px; }

/* ---------- doctor time-slot picker on the appointment form ---------- */
.slot-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.slot-btn {
    border: 1px solid var(--line); background: #fff; border-radius: 100px; padding: 8px 16px;
    font-size: .84rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: .15s;
}
.slot-btn:hover { border-color: var(--blue-100); background: var(--blue-50); }
.slot-btn.sel { background: var(--blue); border-color: var(--blue); color: #fff; }
.slot-btn.full { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.slot-hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.slot-empty { font-size: .84rem; color: var(--muted); font-style: italic; margin-top: 6px; }

/* ---------- AI chat widget ---------- */
.chat-launcher {
    position: fixed; left: 20px; bottom: 22px; z-index: 950; width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; border: 0; cursor: pointer;
    display: grid; place-items: center; box-shadow: 0 14px 32px rgba(18,102,196,.42); transition: transform .2s;
}
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher svg { width: 26px; height: 26px; }
.chat-launcher .ic-close { display: none; transform: rotate(45deg); }
.chat-launcher.open .ic-chat { display: none; }
.chat-launcher.open .ic-close { display: block; }

.chat-panel {
    position: fixed; left: 20px; bottom: 92px; z-index: 950; width: 340px; max-width: calc(100vw - 40px);
    max-height: 70vh; background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
    border: 1px solid var(--line); display: none; flex-direction: column; overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-head {
    background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; padding: 16px 18px;
    display: flex; align-items: center; gap: 10px;
}
.chat-head strong { display: block; font-size: .95rem; }
.chat-head span { display: block; font-size: .76rem; opacity: .85; }
.chat-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex: none; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--canvas); }
.chat-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .86rem; line-height: 1.5; white-space: pre-line; }
.chat-msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.me { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg a.chat-link { display: inline-block; margin-top: 8px; font-size: .8rem; font-weight: 700; color: var(--blue); }
.chat-msg.me a.chat-link { color: #fff; text-decoration: underline; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: var(--canvas); }
.chat-quick button {
    border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--blue-600); border-radius: 100px;
    padding: 6px 12px; font-size: .76rem; font-weight: 600; cursor: pointer;
}
.chat-quick button:hover { background: var(--blue-100); }
.chat-foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-foot input { flex: 1; border: 1px solid var(--line); border-radius: 100px; padding: 10px 16px; font: inherit; font-size: .86rem; }
.chat-foot input:focus { outline: 2px solid var(--blue-100); border-color: var(--blue); }
.chat-foot button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-foot button svg { width: 18px; height: 18px; }
.chat-typing { display: flex; gap: 4px; padding: 10px 13px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-300); animation: chatTyping 1s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatTyping { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }

@media (max-width: 480px) {
    .chat-panel { left: 12px; right: 12px; width: auto; bottom: 84px; }
    .chat-launcher { left: 14px; }
}
