/* Birmingham CBCT & OPG Hub — design system. ONE stylesheet for every page.
 * Same component system as thedentistwestmidlands.co.uk, in the hub's own palette:
 * brand blue #0065cb (hover #0057ad) = "Book", navy #0a2279 = headings, call green #15803d = "Call",
 * footer ink #0d1a2d with sky accent #4db8ff (from the old footer). Change a token here and it changes everywhere. */

@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); }

:root {
  --navy: #0a2279; --navy-2: #071a5e; --brand: #0065cb; --brand-2: #0057ad; --blue: #0065cb; --blue-2: #0057ad; --sky: #e8f2fc; --sky-2: #f4f9fe; --accent: #4db8ff; --foot: #0d1a2d; --foot-2: #081223;
  --green: #15803d; --green-2: #116c33; --ink: #0f172a; --ink-2: #334155; --muted: #5b6b82; --line: #dbe4f0; --white: #fff;
  --gold: #f5b301; --danger: #b42318; --ok: #067647;
  --r: 16px; --r-sm: 10px; --shadow: 0 10px 30px rgba(11, 42, 74, .08); --shadow-lg: 0 18px 48px rgba(11, 42, 74, .14);
  --wrap: 1160px; --narrow: 780px; --gut: clamp(16px, 4vw, 28px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); font-feature-settings: "cv11", "ss01"; }
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -.03em; }
h2 { font-size: clamp(25px, 2.8vw, 34px); }
h3 { font-size: clamp(19px, 2vw, 22px); letter-spacing: -.01em; }
h4 { font-size: 18px; }
p, ul, ol, table, figure, blockquote { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: var(--narrow); margin-left: auto; margin-right: auto; }
.wrap.narrow { max-width: calc(var(--narrow) + 2 * var(--gut)); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 12px;
  font: 700 16px/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .12s, box-shadow .12s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(0, 101, 203, .25); }
.btn--primary:hover { background: var(--brand-2); color: #fff; }
.btn--call { background: var(--green); color: #fff; }
.btn--call:hover { background: var(--green-2); color: #fff; }
.btn--ghost { background: #fff; color: var(--brand-2); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { color: var(--navy-2); }
.link-btn { background: none; border: 0; color: var(--blue); text-decoration: underline; font: inherit; cursor: pointer; padding: 8px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo img { width: 170px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { display: block; white-space: nowrap; padding: 8px 9px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: none; }
.main-nav ul a:hover, .main-nav ul a[aria-current] { background: var(--sky); color: var(--navy); }
.main-nav .ext { font-size: 12px; color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone { font-weight: 750; color: var(--navy); text-decoration: none; white-space: nowrap; }
.nav-actions .btn { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s; }
@media (max-width: 1100px) {
  .burger { display: flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; padding: 12px var(--gut) 20px; max-height: calc(100vh - 72px); overflow: auto; }
  .nav-open .main-nav { display: flex; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: 12px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-actions { justify-content: space-between; padding-top: 12px; }
  .nav-open .burger span:first-child { transform: translateY(9px) rotate(45deg); }
  .nav-open .burger span:last-child { transform: translateY(-9px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero { background: linear-gradient(135deg, #e9f1fc 0%, #f7fbff 55%, #eef3fb 100%); padding: clamp(28px, 5vw, 60px) 0 clamp(28px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.hero--img .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.hero h1 { margin-bottom: 14px; }
.hero .lead { font-size: clamp(18px, 1.7vw, 20px); color: var(--ink-2); max-width: 44em; margin: 0; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 10px; }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; background: var(--sky); }
.price-card { position: relative; margin: -60px 18px 0; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 16px 18px; border: 1px solid var(--line); }
.price-card__label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--muted); margin: 0 0 6px; }
.price-card ul { list-style: none; margin: 0 0 8px; padding: 0; }
.price-card li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.price-card li strong { color: var(--navy); white-space: nowrap; }
.price-card a { font-size: 14px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.chips .chip-rating a { color: var(--navy); text-decoration: none; }
.chips .chip-rating a::first-letter { color: var(--gold); }
.post-meta { color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
@media (max-width: 900px) { .hero--img .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-media { order: -1; } .hero-media img { aspect-ratio: 16 / 9; } .price-card { margin: -40px 10px 0; } }
@media (max-width: 560px) { .cta-row .btn { flex: 1 1 100%; } }

/* ---------- page body / prose ---------- */
.page-body { padding: clamp(28px, 5vw, 56px) 0 8px; }
.prose > * + h2 { margin-top: 1.8em; }
.prose > * + h3 { margin-top: 1.4em; }
.prose h2 { padding-top: .2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--blue); }
.prose img { border-radius: var(--r-sm); margin: 1.2em auto; max-width: min(100%, 680px); max-height: 520px; width: auto; object-fit: contain; }
.prose .cards img, .prose .two-col img { max-width: 100%; max-height: none; width: 100%; margin: 0 0 12px; }
.prose .two-col img { margin: 0; }
.prose figure img { margin: 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.prose blockquote { border-left: 4px solid var(--blue); background: var(--sky-2); padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose table th, .prose table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose table th { background: var(--sky); color: var(--navy); font-weight: 700; }
.prose table.price-tbl td:nth-child(2) { white-space: nowrap; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .lead-p { font-size: 19px; color: var(--ink-2); }
.prose > .cards, .prose > .steps, .prose > .two-col, .prose > .callout, .prose > .yt, .prose > .gallery, .prose > .booking-widget { margin: 1.6em 0; }

/* cards (feature grids from the old pages, related treatments) */
.cards, .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.card > :last-child { margin-bottom: 0; }
.card h3, .card h4 { font-size: 19px; margin-bottom: .4em; }
.card p { font-size: 16px; color: var(--ink-2); }
.card img { border-radius: 10px; margin: 0 0 12px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.card .btn { white-space: normal; text-align: center; }
.card--link .more { margin-top: auto; font-weight: 700; color: var(--blue); font-size: 15px; }

/* numbered steps */
ol.steps { list-style: none; counter-reset: s; padding: 0; }
ol.steps > li { counter-increment: s; position: relative; padding: 2px 0 16px 58px; margin: 0; }
ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.callout { background: var(--sky); border: 1px solid #cfe0f6; border-radius: var(--r); padding: 20px 22px; }
.callout > :last-child { margin-bottom: 0; }
.callout--warn { background: #fff8e6; border-color: #f5d98a; }

/* video (click to play) */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--navy) center / cover no-repeat; cursor: pointer; max-width: 760px; }
.yt::after { content: ""; position: absolute; inset: 0; margin: auto; width: 76px; height: 54px; border-radius: 14px; background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230065cb' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 30px no-repeat; }
.yt.is-playing::after { display: none; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 1.6em 0; }
.video-grid .yt { max-width: none; aspect-ratio: 9 / 12; }
.video-self { aspect-ratio: 16 / 9; object-fit: contain; border-radius: var(--r); width: 100%; max-width: min(100%, 760px); height: auto; background: #000; margin-inline: auto; }
.prose video, .prose iframe, .prose embed, .prose object { max-width: 100%; }
.prose pre { overflow-x: auto; }
.prose a { overflow-wrap: anywhere; }

/* gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; border-radius: 0; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 8px 12px; font-size: 14px; color: var(--ink-2); }
.lightbox { position: fixed; inset: 0; background: rgba(5, 15, 45, .88); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; border-radius: 10px; }
.lightbox button { position: absolute; top: 14px; right: 18px; font-size: 40px; color: #fff; background: none; border: 0; cursor: pointer; }

/* ---------- sections ---------- */
.sec { padding: clamp(36px, 6vw, 64px) 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 24px; margin-bottom: 20px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; }
.reviews-sec { background: var(--sky-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review .stars { color: var(--gold); letter-spacing: 2px; font-size: 18px; margin-bottom: 8px; }
.review blockquote { margin: 0 0 14px; padding: 0; border: 0; background: none; font-size: 16px; color: var(--ink-2); }
.review blockquote p { margin: 0 0 8px; }
.review details summary { cursor: pointer; color: var(--blue); font-weight: 650; font-size: 15px; }
.review details[open] > p { margin-top: 8px; }
.review details[open] ~ p, .review blockquote:has(details[open]) > p:first-child { display: none; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.review figcaption strong { color: var(--ink); font-size: 15px; }
.reviews-more { margin: 18px 0 0; font-weight: 650; }
.rating-badge { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-size: 15px; }
.rb-stars { color: var(--gold); letter-spacing: 1px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: 600 14px var(--font); cursor: pointer; color: var(--ink-2); }


.faq-sec { background: #fff; }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 18px 14px; color: var(--ink-2); }
.faq-a > :last-child { margin-bottom: 0; }
.related-sec { background: var(--sky-2); }

.cta-band { background: linear-gradient(120deg, var(--brand-2) 0%, var(--navy) 100%); color: #fff; padding: clamp(32px, 5vw, 52px) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #dbe6ff; }
.cta-band .cta-row { margin: 0; }

.enquiry-sec { background: #fff; }
.enquiry { background: var(--sky-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 34px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 650; font-size: 15px; color: var(--ink); }
.form input, .form textarea, .form select { font: 400 16px var(--font); padding: 12px 14px; border: 1px solid #b9c7da; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form textarea:focus { border-color: var(--blue); outline: 3px solid rgba(15, 106, 191, .2); }
.form-note { font-size: 14px; color: var(--muted); margin: 12px 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; font-weight: 600; }
.alert--ok { background: #ecfdf3; border: 1px solid #abefc6; color: var(--ok); }
.alert--err { background: #fef3f2; border: 1px solid #fecdca; color: var(--danger); }

/* price list */
.price-section { margin: 0 0 32px; }
.price-section h2 { font-size: 24px; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.price-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.price-table td:last-child { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }

/* blog index */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; list-style: none; padding: 0; }
.post-list .card--link h3 { font-size: 18px; }
.post-list time { font-size: 14px; color: var(--muted); }
.post-topic { margin-top: 2em; }

/* ---------- footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--foot) 0%, var(--foot-2) 100%); color: #cdd6ee; padding: 40px 0 90px; font-size: 15px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { background: #fff; padding: 8px 10px; border-radius: 10px; margin-bottom: 14px; }
.footer-col h2 { color: #fff; font-size: 16px; margin: 0 0 10px; letter-spacing: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0 0 8px; }
.footer-col a { color: #cdd6ee; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.site-footer .rating-badge { color: #fff; }
.footer-map { margin-top: 28px; }
.map { border-radius: 14px; overflow: hidden; background: #16263f; }
.map { min-height: 300px; overflow-anchor: none; }
.map iframe { width: 100%; height: 300px; border: 0; display: block; }
.map-load { width: 100%; min-height: 300px; border: 0; background: #16263f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 2C8 2 5 5 5 9c0 5 7 13 7 13s7-8 7-13c0-4-3-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") 22px center / 32px no-repeat; color: #fff; cursor: pointer; text-align: left; padding: 20px 20px 20px 70px; font: 700 17px var(--font); display: flex; flex-direction: column; gap: 4px; }
.map-load small { font-weight: 400; color: #cdd6ee; font-size: 14px; }
.footer-legal { margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; font-size: 13.5px; color: #9fb0d6; }
.footer-legal a { color: #cdd6ee; }
.footer-bedside { font-size: 14px; }

/* sticky mobile bar */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(10, 34, 121, .08); }
.sticky-bar a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; font-weight: 750; text-decoration: none; font-size: 15px; }
.sb-call { background: var(--green); color: #fff; }
.sb-book { background: var(--brand); color: #fff; }
.sb-msg { border: 2px solid var(--navy); color: var(--navy); }
@media (max-width: 900px) { .sticky-bar { display: grid; } .site-footer { padding-bottom: 100px; } }

/* consent banner */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px 0; max-width: 980px; margin: 0 auto; }
.consent[hidden] { display: none; }
.consent-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.consent p { margin: 0; flex: 1 1 380px; font-size: 15px; color: var(--ink-2); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.consent-actions .btn { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.consent-choose { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.consent-choose[hidden] { display: none; }
@media (max-width: 900px) { .consent { bottom: 80px; } }

/* booking widget + medical history form: bring into the brand */
.booking-widget { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.booking-widget .appts-scope { font-family: var(--font) !important; max-width: none; }
.booking-widget .appts-scope .appt-date-heading { border-bottom-color: var(--blue) !important; }
.booking-widget .appts-scope .appt-date-heading .day-name { color: var(--navy) !important; }
.booking-widget .appts-scope .appt-time-btn { font-family: var(--font) !important; min-height: 44px; }
.booking-widget .appts-scope .appt-time-btn:hover { border-color: var(--navy) !important; color: var(--navy) !important; background: var(--sky) !important; }
.dhs-mh-wrap { font-family: var(--font) !important; }
.bankref { font-weight: 800; color: var(--navy); background: var(--sky); padding: 2px 8px; border-radius: 6px; letter-spacing: .04em; }

/* 404 / system */
.system-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }

@media print { .site-header, .site-footer, .sticky-bar, .consent, .cta-band, .enquiry-sec { display: none !important; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* treatment link chips (smile gallery etc.) */
.link-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 1em 0 1.4em; }
.link-chips a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); font-weight: 700; text-decoration: none; box-shadow: var(--shadow); line-height: 1.3; }
.link-chips a small { font-weight: 400; font-size: 14px; color: var(--muted); }
.link-chips a:hover { border-color: var(--blue); }
.jump-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1em 0 1.6em; }
.jump-chips a { padding: 7px 14px; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 600; font-size: 15px; text-decoration: none; }
.jump-chips a:hover { background: var(--sky-2); }

/* tables on phones: never wider than the screen (27/09/2026) */
@media (max-width: 700px) {
  .prose table { display: table; table-layout: auto; font-size: 15px; }
  .prose table td:last-child { white-space: normal; }
  .prose table th, .prose table td { padding: 8px 8px; overflow-wrap: anywhere; }
  .prose table.tbl-stack, .prose table.tbl-stack tbody, .prose table.tbl-stack tr, .prose table.tbl-stack td, .prose table.tbl-stack th { display: block; width: 100%; }
  .prose table.tbl-stack thead, .prose table.tbl-stack tr.tbl-head { display: none; }
  .prose table.tbl-stack tr { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 0 0 10px; background: #fff; }
  .prose table.tbl-stack td, .prose table.tbl-stack th { border: 0; padding: 3px 0; text-align: left; background: none; }
  .prose table.tbl-stack td[data-label]::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
  .prose table.tbl-stack td:first-child::before { display: none; }
  .prose table.tbl-stack td:first-child { font-weight: 700; color: var(--navy); }
  /* price lists: name and price on one line, notes underneath */
  .prose table.price-tbl tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; }
  .prose table.price-tbl td { width: auto; }
  .prose table.price-tbl td::before { display: none !important; }
  .prose table.price-tbl td:nth-child(2) { font-weight: 700; color: var(--navy); white-space: nowrap; text-align: right; }
  .prose table.price-tbl td:nth-child(3) { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
  .prose table.price-tbl td:nth-child(3):empty { display: none; }
}
/* prices page search */
.price-finder { background: var(--sky-2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 0 0 1.2em; }
.price-finder label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.price-search-row { display: flex; gap: 8px; }
.price-search-row input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.price-search-row input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.price-hint { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.price-count { font-weight: 600; color: var(--navy); margin: 6px 0 0; }
.price-count:empty { display: none; }
.price-disclaimer { font-size: 15px; color: var(--muted); }
.price-related { font-size: 15px; }
.price-none { background: #fff8e6; border: 1px solid #f5d98a; border-radius: 12px; padding: 12px 14px; }
.prose table.price-tbl td:nth-child(2) { white-space: nowrap; font-weight: 700; color: var(--navy); }
[hidden] { display: none !important; }

.prose { overflow-wrap: break-word; }
.hero-copy, .hero-media { min-width: 0; }

.price-card li span { flex: 1 1 auto; min-width: 7em; }
.price-card li strong { text-align: right; white-space: normal; }
.reviews-more-wrap { text-align: center; margin-top: 1.4em; }
.hero-media img { object-position: center 25%; }

.btn { max-width: 100%; }
.prose .btn, .cta-row .btn, .card .btn { white-space: normal; text-align: center; }

/* Images that must be shown whole (QR codes, logos): no crop to the hero's 4:3 / 16:9 frame. (01/10/2026) */
.hero-media--contain img { aspect-ratio: auto; object-fit: contain; width: auto; max-width: min(100%, 396px); height: auto; margin: 0 auto; display: block; background: #fff; padding: 12px; }


/* ===================== Birmingham CBCT & OPG Hub additions (01/10/2026) ===================== */

/* header: drop-down groups (Scans, Guides). Desktop: hover / keyboard focus. Phone: tap the arrow. */
.main-nav .nav-list > li { position: relative; display: flex; align-items: center; }
.sub-toggle { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 6px 4px; font-size: 13px; line-height: 1; border-radius: 6px; }
.sub-toggle:hover { color: var(--brand); }
.main-nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 270px; list-style: none; margin: 0; padding: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 60; flex-direction: column; gap: 0; }
.main-nav .sub a { font-weight: 550; font-size: 15px; padding: 9px 12px; white-space: normal; }
@media (min-width: 1101px) {
  .main-nav .has-sub:hover > .sub, .main-nav .has-sub:focus-within > .sub, .main-nav .has-sub.is-open > .sub { display: flex; }
}
@media (max-width: 1100px) {
  .main-nav .nav-list > li { flex-wrap: wrap; }
  .main-nav .nav-list > li > a { flex: 1 1 auto; }
  .sub-toggle { padding: 12px 14px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav .sub { position: static; display: none; box-shadow: none; border: 0; border-left: 3px solid var(--sky); border-radius: 0; margin: 0 0 6px 8px; padding: 0; min-width: 0; flex-basis: 100%; }
  .main-nav .has-sub.is-open > .sub { display: flex; }
  .main-nav .sub a { border-bottom: 0 !important; padding: 10px 12px !important; font-size: 16px !important; }
  .main-nav .has-sub.is-open .sub-toggle span { display: inline-block; transform: rotate(180deg); }
}
.nav-phone { color: var(--navy); }

/* content building blocks used by the ported pages */
.prose > .two-col, .prose > .cards, .prose > .cols-2, .prose > .btn-row, .prose > .callout, .prose > .video-self { margin: 1.8em 0; }
.prose .two-col > div > :last-child { margin-bottom: 0; }
.prose .two-col img, .prose .two-col .video-self { border-radius: 20px; box-shadow: var(--shadow); max-height: none; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.prose .cards .card img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; max-height: none; margin: 0 0 14px; }
.prose .cards .card img.icon { aspect-ratio: 1; width: 72px; height: 72px; object-fit: contain; border-radius: 16px; background: var(--sky); padding: 6px; }
.prose .cards .card .btn-row { margin: 14px 0 0; }
.prose .cards .card .btn { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.card h3 { color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
ul.cols-2 { columns: 2; column-gap: 32px; }
ul.cols-2 li { break-inside: avoid; }
@media (max-width: 640px) { ul.cols-2 { columns: 1; } }
ul.ticks { list-style: none; padding-left: 0 !important; }
ul.ticks li { position: relative; padding-left: 30px; }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.video-self { display: block; width: 100%; height: auto; background: #000; }
.quote-card blockquote { margin: 0 0 10px; border: 0; background: none; padding: 0; font-size: 16.5px; color: var(--ink-2); }
.quote-card cite { font-style: normal; font-weight: 700; color: var(--navy); font-size: 15px; }
.contact-cards .card p { font-size: 16px; }
.contact-cards .card a { font-weight: 700; }
.summary-box { background: var(--sky-2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.summary-box p { margin: 0 0 6px; }
.lead-p { font-size: 19px; color: var(--ink-2); }

/* price table notes */
.price-note { font-size: 14.5px; color: var(--muted); font-weight: 400; }
.price-table td:last-child { color: var(--brand-2); font-size: 18px; }

/* opening hours */
table.hours { border-collapse: collapse; width: 100%; max-width: 380px; font-size: 15px; }
table.hours th, table.hours td { text-align: left; padding: 4px 0; border: 0; background: none; font-weight: 400; }
table.hours th { padding-right: 16px; color: inherit; }
.site-footer table.hours { color: #cdd6ee; }

/* footer trust band (GDC / CQC / Google / IRMER), as on the old site */
.trust-band { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; padding: 20px 22px !important; margin-bottom: 30px; border-radius: 16px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.trust-title { margin: 0; font-weight: 800; color: #fff; flex: 1 1 220px; }
.trust-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(77, 184, 255, .18);
  border: 1px solid rgba(77, 184, 255, .45); color: #fff !important; font-weight: 800; text-decoration: none; }
.trust-pill span { color: var(--gold); letter-spacing: 2px; }
.trust-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 14px; background: #fff; text-decoration: none; }
.trust-card img { height: 46px; width: auto; }
.trust-card span { color: var(--foot); font-size: 12px; font-weight: 800; }
.trust-irmer { flex-basis: 100%; font-size: 13.5px; font-weight: 700; color: #fff; }
.footer-name { color: var(--accent); font-weight: 800; font-size: 19px; margin-bottom: 10px; }
.footer-h { color: var(--accent); font-weight: 800; margin: 14px 0 4px; }
.footer-col h2 { color: var(--accent); }
.site-footer .rating-badge { color: #fff; }

/* hero for the home page and hubs */
.hero--home { background: radial-gradient(1200px 500px at 85% -10%, #d7ebff 0%, rgba(215, 235, 255, 0) 60%), linear-gradient(135deg, #eaf3fd 0%, #f7fbff 60%, #eef5fc 100%); }
.hero .lead { max-width: 40em; }
.hero-media--contain img { aspect-ratio: auto; object-fit: contain; background: transparent; box-shadow: none; }

/* ===================== /book-online/ form (Snippet #7, restyled) ===================== */
.t-booking .page-body { padding-top: clamp(20px, 3vw, 36px); }
.booking-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin: 0 0 28px; }
@media (max-width: 820px) { .booking-intro { grid-template-columns: 1fr; } }
.cbct-booking-wrapper { max-width: 860px; margin: 0 auto 24px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: clamp(18px, 4vw, 34px); scroll-margin-top: 90px; }
.cbct-booking-wrapper > h2 { margin-top: 0; }
.cbct-welcome { background: var(--sky-2); border: 1px solid #cfe2f7; border-radius: 14px; padding: 16px 18px; margin: 0 0 18px; }
.cbct-welcome-lead { font-size: 18px; margin: 0 0 8px; }
.cbct-welcome-points { list-style: none; padding: 0; margin: 0 0 10px; }
.cbct-welcome-points li { margin: 6px 0; font-size: 15.5px; line-height: 1.45; }
.cbct-welcome-points li span { color: var(--green); font-weight: 800; margin-right: 4px; }
.cbct-welcome-prices { font-size: 15px; margin: 0 0 6px; color: var(--brand-2); font-weight: 650; }
.cbct-welcome-help { font-size: 15px; margin: 0; color: var(--ink-2); }
.cbct-progress { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 650; color: var(--ink-2); margin: 0 0 10px; }
.cbct-progress-track { flex: 1; height: 8px; background: #e2ecf8; border-radius: 4px; overflow: hidden; }
.cbct-progress-fill { display: block; height: 100%; width: 16%; background: var(--brand); transition: width .25s; }
.cbct-estimate-bar { position: sticky; top: 76px; z-index: 5; background: #fff; border: 1px solid #cfe2f7; border-radius: 12px; padding: 10px 14px; margin: 0 0 18px; font-size: 15.5px; box-shadow: 0 6px 16px rgba(11, 42, 74, .06); }
.cbct-estimate-bar strong { color: var(--brand-2); }
.cbct-estimate-note { color: var(--muted); font-size: 13.5px; }
.cbct-step { display: none; }
.cbct-step.cbct-step-active { display: block; }
.cbct-step-title { font-size: 22px; margin: 4px 0 8px; outline: none; }
.cbct-step h4 { font-size: 17px; margin: 18px 0 10px; color: var(--navy); }
.cbct-step-intro { font-size: 15.5px; margin: 0 0 14px; color: var(--ink-2); }
.cbct-radio-group, .cbct-checkbox-group { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.cbct-radio-option, .cbct-checkbox-option { min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; display: flex; align-items: center; gap: 12px;
  background: #fff; font-weight: 550; transition: border-color .12s, background .12s; }
.cbct-radio-option:hover, .cbct-checkbox-option:hover { border-color: var(--brand); background: var(--sky-2); }
.cbct-radio-option:has(input:checked), .cbct-checkbox-option:has(input:checked) { border-color: var(--brand); background: var(--sky); box-shadow: inset 0 0 0 1px var(--brand); }
.cbct-radio-option input, .cbct-checkbox-option input { margin: 0; width: 20px; height: 20px; accent-color: var(--brand); flex: 0 0 auto; }
#cbct_patient_block, #cbct_dentist_block, #cbct_arch_selection_row, #cbct_appointment_hidden_for_refer_only { display: none; }
#cbct_arch_selection_row { margin: 0 0 4px 14px; }
.cbct-nav-buttons { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.cbct-nav-buttons button, .cbct-btn-submit { min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; font: 700 16px/1.2 var(--font); }
.cbct-btn-prev { background: #fff; color: var(--brand-2); border-color: var(--line) !important; }
.cbct-btn-prev:hover { border-color: var(--brand) !important; }
.cbct-btn-next, .cbct-btn-submit { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(0, 101, 203, .22); }
.cbct-btn-next:hover, .cbct-btn-submit:hover { background: var(--brand-2); }
.cbct-btn-submit { width: 100%; margin-top: 16px; font-size: 17px; }
.cbct-nav-last { margin-top: 12px; }
.cbct-summary-panel { background: var(--sky-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-top: 16px; font-size: 15.5px; }
.cbct-summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.cbct-summary-row span:last-child { font-weight: 750; color: var(--navy); white-space: nowrap; }
.cbct-summary-panel .cbct-note { margin-top: 10px; }
.cbct-slots-title { margin-top: 6px !important; }
.cbct-date-group { margin-bottom: 18px; }
.cbct-date { font-weight: 750; color: var(--navy); margin: 0 0 8px; padding-bottom: 4px; border-bottom: 2px solid var(--sky); }
.cbct-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.cbct-slot { min-height: 46px; padding: 10px; text-align: center; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font: 650 15px var(--font); color: var(--ink); }
.cbct-slot:hover { border-color: var(--brand); color: var(--brand-2); background: var(--sky-2); }
.cbct-slot.cbct-slot-selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.cbct-field-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }
.cbct-field-row .cbct-field { flex: 1 1 240px; }
.cbct-field { margin-bottom: 12px; }
.cbct-field label { display: block; margin-bottom: 5px; font-weight: 650; font-size: 15px; }
.cbct-field input, .cbct-field select, .cbct-field textarea { width: 100%; font: 400 16px var(--font); padding: 12px 14px; border-radius: 10px; border: 1px solid #b9c7da; background: #fff; color: var(--ink); }
.cbct-field input:focus, .cbct-field select:focus, .cbct-field textarea:focus { border-color: var(--brand); outline: 3px solid rgba(0, 101, 203, .18); }
.cbct-field textarea { min-height: 96px; }
.cbct-note { font-size: 14.5px; color: var(--muted); margin: 6px 0 0; }
.cbct-error { display: none; color: var(--danger); background: #fef3f2; border: 1px solid #fecdca; border-radius: 10px; padding: 10px 12px; font-size: 15px; font-weight: 600; margin-top: 10px; }
.cbct-field-error input, .cbct-field-error select, .cbct-field-error textarea { border-color: var(--danger); }
.cbct-field-error-message { color: var(--danger); font-size: 13.5px; margin-top: 4px; font-weight: 600; }
.cbct-no-slots { background: #fff8e6; border: 1px solid #f5d98a; border-radius: 12px; padding: 12px 14px; }

.footer-map .map, .footer-map .map-load { min-height: 96px; }
@media (min-width: 1101px) { .main-nav .sub:has(> li:nth-child(11)) { display: none; } .main-nav .has-sub:hover > .sub:has(> li:nth-child(11)), .main-nav .has-sub:focus-within > .sub:has(> li:nth-child(11)), .main-nav .has-sub.is-open > .sub:has(> li:nth-child(11)) { display: grid; grid-template-columns: 1fr 1fr; min-width: 520px; } }
.prose table.price-table, .prose table.hours { display: table; }
.prose .price-table { width: 100%; }
