/*
Theme Name: Longevium Child
Template: hello-elementor
Description: Child theme for Longevium Clinic: top bar, sticky header and footer from CLAUDE.md sections 4-6.
Version: 0.22.3
Text Domain: longevium-child
*/

/* ---------- design tokens ---------- */
:root {
  --lgv-brown: #654219;          /* logo brown: main brand and button colour (white text 9:1) */
  --lgv-brown-dark: #4a300f;     /* hover state of brown buttons */
  --lgv-gold: #c19d58;           /* accent gold: lines and icons only, too light for text on white */
  --lgv-ink: #1f1a14;            /* main text colour */
  --lgv-muted: #5b5248;          /* secondary text, 7:1 on white */
  --lgv-cream: #f7f2ea;          /* soft background for panels */
  --lgv-line: #e6ddd0;           /* thin borders */
  --lgv-dark: #24180c;           /* top bar and footer background */
  --lgv-on-dark: #f3e9da;        /* text on dark backgrounds, 14:1 */
  --lgv-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* system fonts: no downloads (brand fonts [TBD]) */
  --lgv-wrap: 1200px;            /* max content width */
  --lgv-header-h: 72px;          /* header height on desktop */
  --lgv-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif; /* display serif for the home headline (local files, 01.12) */
}

/* ---------- display font: Cormorant Garamond 600, latin, local files (SIL OFL, assets/fonts/OFL.txt) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); } /* upright, 21 KB */
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); } /* italic accent words, 22 KB */

/* ---------- base ---------- */
body { font-family: var(--lgv-font); color: var(--lgv-ink); } /* site-wide font and text colour */
.lgv-wrap { max-width: var(--lgv-wrap); margin: 0 auto; padding: 0 20px; } /* centred content column */
.lgv-icon { width: 18px; height: 18px; fill: currentColor; flex: none; } /* default icon size, takes the text colour */
.lgv-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* visually hidden, read by screen readers */
.lgv-skip { position: absolute; left: -9999px; top: 0; z-index: 10001; background: #fff; color: var(--lgv-ink); padding: 12px 16px; } /* skip link hidden until focused */
.lgv-skip:focus { left: 12px; top: 12px; } /* skip link appears on keyboard focus */
.lgv-topbar a:focus-visible, .lgv-header a:focus-visible, .lgv-header button:focus-visible, .lgv-footer a:focus-visible { outline: 3px solid var(--lgv-gold); outline-offset: 2px; } /* visible keyboard focus */

/* ---------- buttons ---------- */
.lgv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--lgv-font); text-decoration: none; white-space: nowrap; transition: background .2s; } /* shared button shape, 44px touch target */
.lgv-btn--primary { background: var(--lgv-brown); color: #fff !important; } /* main call to action: most contrasting element */
.lgv-btn, .lgv-btn:hover { text-decoration: none !important; } /* Hello underlines links inside page content; buttons stay clean */
.lgv-btn--primary:hover { background: var(--lgv-brown-dark); } /* darker on hover */

/* ---------- top bar (section 4) ---------- */
.lgv-topbar { background: var(--lgv-dark); color: var(--lgv-on-dark); font-size: 13px; } /* thin dark strip above the header */
.lgv-topbar__inner { display: flex; gap: 24px; align-items: center; min-height: 36px; } /* items in one row */
.lgv-topbar__item { display: inline-flex; align-items: center; gap: 6px; color: var(--lgv-on-dark) !important; text-decoration: none; min-height: 36px; } /* each contact link */
.lgv-topbar__item:hover { color: #fff !important; text-decoration: underline; } /* hover feedback */
.lgv-topbar__item .lgv-icon { width: 15px; height: 15px; color: var(--lgv-gold); } /* small gold icons */
.lgv-topbar__address { margin-right: auto; } /* address on the left, phone and WhatsApp pushed right */
.lgv-topbar__short { display: none; } /* short address only on phones */

/* ---------- header (section 5) ---------- */
.lgv-masthead { position: sticky; top: 0; z-index: 1000; } /* top bar + header stay on screen together while scrolling */
.lgv-header { position: relative; background: #fff; border-bottom: 1px solid var(--lgv-line); } /* white header row under the dark top bar */
.admin-bar .lgv-masthead { top: 32px; } /* logged in, desktop: below the 32 px WordPress admin bar */
@media (max-width: 782px) { .admin-bar .lgv-masthead { top: 46px; } } /* tablets: the admin bar is 46 px tall */
@media (max-width: 600px) { .admin-bar .lgv-masthead { top: 0; } } /* phones: the admin bar scrolls away, so the header sticks to the very top */
.lgv-header__inner { display: flex; align-items: center; gap: 24px; height: var(--lgv-header-h); } /* logo, menu and button in a row */
.lgv-logo { display: inline-flex; align-items: center; flex: none; } /* logo link */
.lgv-logo img { height: 36px; width: auto; display: block; } /* logo size in the header */
.lgv-nav { flex: 1; display: flex; justify-content: center; } /* menu fills the middle */
.lgv-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; } /* top level items in a row */
.lgv-nav__item { position: relative; } /* anchor for the dropdown panel */
.lgv-nav__link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; background: none; border: 0; color: var(--lgv-ink) !important; font: 500 15px/1 var(--lgv-font); text-decoration: none; cursor: pointer; } /* menu link or dropdown button look */
.lgv-nav__link:hover, .lgv-nav__link[aria-current="page"] { color: var(--lgv-brown) !important; } /* hover and current page in brand brown */
.lgv-header button, .lgv-header button:hover, .lgv-header button:focus, .lgv-header button:active { background: none; border: 0; border-radius: 0; color: var(--lgv-ink); box-shadow: none; } /* undo Hello's pink button reset (#c36) */
.lgv-header .lgv-panel-toggle:hover, .lgv-header .lgv-panel-toggle[aria-expanded="true"] { color: var(--lgv-brown) !important; } /* brand colour for the open dropdown (beats the base link colour) */
.lgv-nav__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; } /* current page also underlined (not colour only) */
.lgv-chevron { width: 16px; height: 16px; transition: transform .2s; } /* dropdown arrow */
.lgv-panel-toggle[aria-expanded="true"] .lgv-chevron { transform: rotate(180deg); } /* arrow flips when open */
.lgv-nav__book { display: none; } /* the in-menu button is only for the mobile menu */
.lgv-burger { display: none; } /* burger only on small screens */

/* dropdown panel: two columns */
.lgv-panel { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 640px; padding: 24px; background: #fff; border: 1px solid var(--lgv-line); border-radius: 12px; box-shadow: 0 12px 32px rgba(36,24,12,.12); grid-template-columns: 1fr 1fr; gap: 24px; } /* hidden by default */
.lgv-panel-toggle[aria-expanded="true"] + .lgv-panel, .lgv-has-panel.is-open > .lgv-panel { display: grid; } /* opened by click, Enter or Space */
/* label link + arrow button: "Aesthetic" opens its page, the arrow opens the list (owner, 19.11) */
.lgv-nav__split { display: flex; align-items: center; } /* label and arrow side by side */
.lgv-nav__split .lgv-nav__parent { padding-right: 2px; } /* label sits close to its arrow */
.lgv-nav__arrow { display: inline-flex; align-items: center; justify-content: center; width: 28px; min-height: 44px; padding: 0; background: none; border: 0; border-radius: 6px; color: var(--lgv-ink); cursor: pointer; } /* arrow button, 44 px tall target */
.lgv-has-panel:hover .lgv-nav__parent, .lgv-has-panel.is-open .lgv-nav__parent { color: var(--lgv-brown) !important; } /* label turns brown while its list is open */
.lgv-header .lgv-has-panel:hover .lgv-nav__arrow, .lgv-header .lgv-has-panel.is-open .lgv-nav__arrow { color: var(--lgv-brown); } /* arrow matches the label */
.lgv-nav__arrow:focus-visible, .lgv-nav__parent:focus-visible { outline: 3px solid var(--lgv-gold); outline-offset: 2px; } /* keyboard focus */
@media (hover: hover) and (min-width: 1280px) {
  .lgv-has-panel:hover > .lgv-panel { display: grid; } /* also opens on mouse hover on desktop */
}
.lgv-panel__head { display: block; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--lgv-gold); color: var(--lgv-brown) !important; font-weight: 700; text-decoration: none; } /* group title linked to its hub */
.lgv-panel__list { list-style: none; margin: 0; padding: 0; } /* treatment list */
.lgv-panel__list a { display: block; padding: 7px 0; color: var(--lgv-ink) !important; text-decoration: none; font-size: 15px; } /* treatment link */
.lgv-panel__list a:hover, .lgv-panel__list a[aria-current="page"] { color: var(--lgv-brown) !important; text-decoration: underline; } /* hover and current */
/* dropdown columns split into treatment groups: Face / Body / ... and Pain & Injury / ... (owner, 19.11) */
.lgv-panel--wide { width: min(860px, calc(100vw - 40px)); grid-template-columns: repeat(3, minmax(0, 1fr)); } /* wider panel: the long column takes two thirds */
.lgv-panel__col--wide { grid-column: span 2; } /* long column (Aesthetic) */
.lgv-panel__col--wide .lgv-panel__groups { columns: 2; column-gap: 24px; } /* long column: groups flow into two sub-columns, balanced by the browser */
.lgv-panel__group { break-inside: avoid; padding-bottom: 14px; } /* a group never splits between sub-columns */
.lgv-panel__sub { display: block; padding: 4px 0 2px; color: var(--lgv-muted) !important; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; } /* small group label */
.lgv-panel__sub:hover { color: var(--lgv-brown) !important; text-decoration: underline; } /* label is a link to the group on the hub */
.lgv-panel__group .lgv-panel__list { margin-left: 2px; padding-left: 12px; border-left: 2px solid #efe6d8; } /* soft line ties treatments to their group */
@media (min-width: 1280px) {
  .lgv-header__inner { position: relative; } /* wide panel is centred under the whole header, never off-screen */
  .lgv-has-panel { position: static; } /* panel positions against the header, not the menu item */
  .lgv-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* invisible bridge: the mouse can travel from the button to the panel without closing it */
}
.lgv-hub-group { scroll-margin-top: 130px; } /* menu group links land below the sticky header */
/* one hub per dropdown: "Aesthetic" and "Wellness & Recovery" (owner, 19.11) */
.lgv-panel--one { width: 340px; grid-template-columns: minmax(0, 1fr); } /* single column panel */
.lgv-panel--one.lgv-panel--wide { width: min(620px, calc(100vw - 40px)); } /* long hub: two sub-columns of groups */
.lgv-panel--one .lgv-panel__col--wide { grid-column: auto; } /* no spanning inside a one-column grid */
@media (min-width: 1280px) {
  .lgv-has-panel--one { position: relative; } /* small panel opens under its own button */
  .lgv-has-panel--one > .lgv-panel { left: -12px; transform: none; } /* left edge lines up with the button text */
}

/* ---------- footer (section 6) ---------- */
.lgv-footer { margin-top: 64px; background: var(--lgv-dark); color: var(--lgv-on-dark); font-size: 15px; } /* dark footer */
.lgv-footer a { color: var(--lgv-on-dark) !important; text-decoration: none; } /* light links */
.lgv-footer a:hover { color: #fff !important; text-decoration: underline; } /* hover feedback */
.lgv-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; } /* four columns on desktop */
.lgv-logo--light img { filter: brightness(0) invert(1); height: 32px; } /* brown logo turned white on the dark footer */
.lgv-footer__about p { margin: 16px 0; line-height: 1.6; color: var(--lgv-on-dark); } /* clinic description */
.lgv-footer__social { display: flex; gap: 12px; } /* social icons row */
.lgv-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(243,233,218,.35); border-radius: 50%; } /* round 44px icon buttons */
.lgv-footer__social .lgv-icon { width: 20px; height: 20px; } /* icon size */
.lgv-footer__title { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: #fff; } /* column titles */
.lgv-footer__title a { color: #fff !important; } /* linked titles stay white */
.lgv-footer__list { list-style: none; margin: 0; padding: 0; } /* column lists */
.lgv-footer__list li { padding: 5px 0; } /* spacing between lines */
.lgv-footer__contact a { display: inline-flex; gap: 8px; align-items: flex-start; } /* icon + text */
.lgv-footer__contact .lgv-icon { margin-top: 2px; color: var(--lgv-gold); } /* gold icons */
.lgv-footer__bottom { border-top: 1px solid rgba(243,233,218,.15); font-size: 14px; } /* legal row separator */
.lgv-footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; } /* copyright and legal links */
.lgv-footer__bottom-inner span { margin-right: auto; } /* copyright on the left */

/* ---------- burger menu below 1280px (8 menu items + button need the width; owner split Our Services, 19.11) ---------- */
@media (max-width: 1279px) {
  .lgv-header__inner { height: 64px; gap: 12px; } /* slightly lower header */
  .lgv-logo img { height: 30px; } /* smaller logo */
  .lgv-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; color: var(--lgv-ink); cursor: pointer; order: 3; } /* burger on the right */
  .lgv-burger .lgv-icon { width: 26px; height: 26px; } /* larger burger icon */
  .lgv-burger__close, .lgv-burger[aria-expanded="true"] .lgv-burger__open { display: none; } /* show only one icon */
  .lgv-burger[aria-expanded="true"] .lgv-burger__close { display: block; } /* cross when open */
  .lgv-header__book { order: 2; margin-left: auto; padding: 0 16px; font-size: 14px; } /* compact header button next to the burger */
  .lgv-nav { display: none; position: fixed; left: 0; right: 0; top: var(--lgv-nav-top, 64px); bottom: 0; flex-direction: column; justify-content: space-between; padding: 8px 20px 24px; background: #fff; overflow-y: auto; } /* full-screen menu under the header */
  .lgv-nav.is-open { display: flex; } /* shown when the burger is pressed */
  .lgv-nav__list { flex-direction: column; gap: 0; } /* items stacked */
  .lgv-nav__item { border-bottom: 1px solid var(--lgv-line); } /* separators */
  .lgv-nav__link { width: 100%; justify-content: space-between; min-height: 52px; padding: 0; font-size: 17px; } /* large touch rows */
  .lgv-nav__split .lgv-nav__parent { flex: 1; padding-right: 0; } /* label fills the row and opens the page */
  .lgv-nav__arrow { width: 52px; min-height: 52px; margin-right: -12px; } /* big arrow target at the right edge */
  .lgv-nav__arrow .lgv-chevron { width: 22px; height: 22px; } /* larger arrow for fingers */
  .lgv-panel { position: static; transform: none; width: auto; padding: 0 0 12px; border: 0; box-shadow: none; grid-template-columns: 1fr; gap: 12px; } /* accordion instead of floating panel */
  .lgv-panel__col--wide { grid-column: auto; } /* one column in the mobile menu */
  .lgv-panel__col--wide .lgv-panel__groups { columns: 1; } /* groups stacked */
  .lgv-panel__sub { padding: 10px 0 4px; } /* bigger touch target for the group label */
  .lgv-nav__book { display: flex; width: 100%; margin-top: 24px; min-height: 52px; } /* full-width button at the bottom of the menu */
  body.lgv-nav-open { overflow: hidden; } /* page does not scroll behind the open menu */
  body.lgv-nav-open .lv-bar, body.lgv-nav-open .lv-float { display: none; } /* hide the bottom WhatsApp/Call bar and the floating WhatsApp button so they do not cover the open menu */
}
@media (min-width: 768px) and (max-width: 1279px) {
  .lgv-burger { margin-left: 12px; } /* tablets: Book button and burger sit together on the right */
}
@media (max-width: 1023px) {
  .lgv-footer__grid { grid-template-columns: 1fr 1fr; } /* two footer columns on tablets */
}

/* ---------- phones (< 768px) ---------- */
@media (max-width: 767px) {
  .lgv-topbar__inner { gap: 16px; } /* tighter top bar */
  .lgv-topbar__full, .lgv-topbar__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* full address and labels hidden visually but kept as link text */
  .lgv-topbar__short { display: inline; } /* short address "Asokoro, Abuja" */
  .lgv-topbar__item { min-width: 44px; justify-content: center; } /* icon-only links keep a 44px target */
  .lgv-topbar__item .lgv-icon { width: 18px; height: 18px; } /* bigger icons when they are alone */
  .lgv-header__book { display: none; } /* mobile uses the bottom WhatsApp bar and the button inside the menu */
  .lgv-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; } /* one footer column */
}

/* ---------- content pages: treatments and hubs (stage 2) ---------- */
body { overflow-x: clip; } /* full-bleed bands never cause sideways scroll */
.lgv-treatment { font-size: 17px; line-height: 1.65; } /* comfortable reading size */
.lgv-treatment h2, .lgv-hub h2, .lgv-hub-group h2 { margin: 0 0 20px; font-size: clamp(24px, 3vw, 32px); line-height: 1.25; color: var(--lgv-ink); } /* section titles */
.lgv-treatment h3 { margin: 0 0 10px; font-size: 19px; } /* sub-titles */
.lgv-wrap.lgv-narrow > * { max-width: 760px; } /* text stays readable but aligned to the same left edge as wide sections */
.lgv-section { padding: 56px 0; } /* vertical rhythm */
.lgv-section--cream { background: var(--lgv-cream); } /* alternating soft background */
.lgv-hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--lgv-cream), #fff); } /* soft hero without heavy images */
.lgv-hero__inner > * { max-width: 880px; } /* hero text width, aligned to the grid */
.lgv-eyebrow { margin: 0 0 8px; color: var(--lgv-brown); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; } /* category label above H1 */
.lgv-hero h1 { margin: 0 0 16px; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; color: var(--lgv-ink); } /* the H1 */
.lgv-hero__sub { margin: 0 0 28px; font-size: clamp(18px, 2.2vw, 22px); color: var(--lgv-muted); } /* result line */
.lgv-btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; gap: 10px; } /* large call-to-action */
.lgv-btn--lg .lgv-icon { width: 20px; height: 20px; } /* icon inside large buttons */
.lgv-cta { margin: 28px 0 0; } /* space above in-content buttons */
.lgv-cta__note { margin: 10px 0 0; font-size: 14px; color: var(--lgv-muted); } /* micro-text under buttons */
.lgv-tbd--inline { display: inline; padding: 1px 6px; } /* inline placeholder inside text */
.lgv-tbd { padding: 10px 14px; border: 1px dashed #b45309; border-radius: 8px; background: #fff7ed; color: #7c2d12; font-size: 15px; } /* visible [TBD] placeholder, readable contrast */
.lgv-small { margin-top: 16px; font-size: 15px; color: var(--lgv-muted); } /* small print */
.lgv-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 16px; } /* at-a-glance tiles: six fit in one row on desktop */
.lgv-glance > div { padding: 16px 18px; border: 1px solid var(--lgv-line); border-radius: 12px; background: #fff; } /* one tile */
.lgv-glance dt { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--lgv-brown); } /* tile label */
.lgv-glance dd { margin: 0; font-size: 16px; line-height: 1.45; } /* tile value */
.lgv-ticks, .lgv-crosses { list-style: none; margin: 0; padding: 0; } /* custom bullet lists */
.lgv-ticks li, .lgv-crosses li { position: relative; padding: 6px 0 6px 30px; } /* room for the marker */
.lgv-ticks li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--lgv-brown); font-weight: 700; } /* tick marker */
.lgv-crosses li::before { content: "✕"; position: absolute; left: 2px; top: 6px; color: #9a3412; font-weight: 700; } /* cross marker */
.lgv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } /* two columns */
.lgv-panel-box { padding: 24px; border-radius: 12px; background: #fff; border: 1px solid var(--lgv-line); } /* white card on cream */
.lgv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; } /* three steps */
.lgv-steps li { position: relative; padding: 56px 22px 22px; border: 1px solid var(--lgv-line); border-radius: 12px; counter-increment: step; } /* one step card */
.lgv-steps li::before { content: counter(step); position: absolute; top: 18px; left: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--lgv-brown); color: #fff; font-weight: 700; display: grid; place-items: center; } /* step number */
.lgv-steps p { margin: 0; color: var(--lgv-muted); } /* step text */
.lgv-price__value { margin: 0 0 8px; font-size: 28px; font-weight: 700; color: var(--lgv-brown); } /* price line */
.lgv-price a:not(.lgv-btn) { color: var(--lgv-brown); text-decoration: underline; } /* inline link */
.lgv-btn--outline-dark { margin-top: 16px; border: 2px solid var(--lgv-brown); color: var(--lgv-brown) !important; } /* secondary outlined button */
.lgv-faq { border-bottom: 1px solid var(--lgv-line); } /* FAQ row */
.lgv-faq summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 600; list-style: none; position: relative; } /* question line */
.lgv-faq summary::-webkit-details-marker { display: none; } /* hide default marker in Safari */
.lgv-faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--lgv-brown); } /* plus sign */
.lgv-faq[open] summary::after { content: "–"; } /* minus when open */
.lgv-faq summary:focus-visible { outline: 3px solid var(--lgv-gold); outline-offset: 2px; } /* keyboard focus */
.lgv-faq p { margin: 0 0 18px; color: var(--lgv-muted); } /* answer */
.lgv-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; } /* card grid */
.lgv-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--lgv-line); border-radius: 14px; background: #fff; } /* one card */
.lgv-card__title { margin: 0; font-size: 20px; line-height: 1.3; } /* card name */
.lgv-card__title a { color: var(--lgv-ink) !important; text-decoration: none; } /* name link */
.lgv-card__title a:hover { color: var(--lgv-brown) !important; text-decoration: underline; } /* hover */
.lgv-card__pain { margin: 0; color: var(--lgv-muted); font-size: 15px; } /* pain line */
.lgv-card__result { margin: 0 0 6px; font-size: 15px; font-weight: 600; } /* result line */
.lgv-card .lgv-btn { margin-top: auto; align-self: flex-start; } /* button at the bottom of the card */
.lgv-card { overflow: hidden; } /* photo follows the rounded corners */
.lgv-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } /* Related treatments: four in one row */
@media (max-width: 1023px) { .lgv-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* tablet: 2 x 2, no lonely fourth card */
@media (max-width: 600px) { .lgv-cards--4 { grid-template-columns: 1fr; } } /* phone: one column */
.lgv-card__media { position: relative; display: block; flex: none; overflow: hidden; margin: -24px -24px 6px; aspect-ratio: 3 / 2; background: #efe6d8; } /* edge-to-edge 3:2 photo area, warm tint while loading */
.lgv-card__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; } /* photo fills the area */
.lgv-card:hover .lgv-card__img { transform: scale(1.03); } /* gentle zoom on hover */
.lgv-card__media .lgv-photo-tbd { height: 100%; border-width: 0 0 1px; border-radius: 0; } /* placeholder fills the area, one dashed line under it */
@media (prefers-reduced-motion: reduce) { .lgv-card__img { transition: none; } .lgv-card:hover .lgv-card__img { transform: none; } } /* no zoom for reduced motion */
.lgv-hub-group { margin: 40px 0; } /* space between hub groups */
.lgv-band { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 64px 0; background: var(--lgv-brown); color: #fff; text-align: center; } /* full-width brown band */
.lgv-band h2 { margin: 0 0 12px; color: #fff !important; font-size: clamp(26px, 3.4vw, 36px); } /* band title */
.lgv-band p { margin: 0 auto 24px; max-width: 620px; color: #f6efe4; } /* band text */
.lgv-band__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; } /* two buttons */
.lgv-band .lgv-cta__note { margin: 14px auto 0; color: #f6efe4; } /* micro-text on brown */
.lgv-btn--light { background: #fff; color: var(--lgv-brown) !important; } /* white button on brown */
.lgv-btn--light:hover { background: var(--lgv-cream); } /* hover */
.lgv-btn--outline { border: 2px solid #fff; color: #fff !important; } /* outlined button on brown */
.lgv-btn--outline:hover { background: rgba(255,255,255,.1); } /* hover */
.lgv-band a:focus-visible, .lgv-section a:focus-visible, .lgv-hero a:focus-visible, .lgv-card a:focus-visible { outline: 3px solid var(--lgv-gold); outline-offset: 2px; } /* keyboard focus */
body:has(.lgv-band) .lgv-footer { margin-top: 0; } /* band sits directly on the footer */
@media (max-width: 767px) {
  .lgv-section { padding: 40px 0; } /* tighter sections on phones */
  .lgv-hero { padding: 40px 0; } /* tighter hero */
  .lgv-two, .lgv-steps { grid-template-columns: 1fr; } /* stack columns */
  .lgv-glance { grid-template-columns: 1fr 1fr; gap: 10px; } /* two at-a-glance tiles per row on phones */
  .lgv-glance > div { padding: 12px 14px; } /* tighter tiles */
  .lgv-btn--lg { width: 100%; } /* full-width buttons on phones */
}

/* ---------- home page (stage 3, section 8.1) ---------- */
.lgv-home { font-size: 17px; line-height: 1.65; } /* reading size like treatment pages */
.lgv-home h2 { margin: 0 0 20px; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; color: var(--lgv-ink); } /* section titles */
.lgv-home h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; } /* card titles */
.lgv-home-hero { padding: 56px 0; background: linear-gradient(135deg, var(--lgv-cream) 0%, #fff 70%); } /* light hero, no slider, no heavy background */
.lgv-home-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; } /* text left, photo right */
.lgv-home-hero h1 { margin: 0 0 20px; font: 600 clamp(52px, 7vw, 92px)/.98 var(--lgv-font-display); letter-spacing: -.015em; color: var(--lgv-ink); text-wrap: balance; } /* the H1: large editorial serif (01.12) */
.lgv-home-hero h1 em { font-style: italic; color: var(--lgv-brown); } /* *starred* words: new line (the <br> is added in front-page.php), brand-brown italic (8.7:1 on cream) */
.lgv-home-hero h1::after { content: ""; display: block; width: 64px; height: 2px; margin-top: 22px; background: var(--lgv-gold); } /* short gold rule under the headline */
.lgv-home-hero .lgv-hero__sub { max-width: 30em; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; text-wrap: balance; } /* caption: shorter lines, calmer size */
.lgv-home-hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; } /* two hero buttons */
.lgv-home-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; } /* interior photo with fixed ratio (no layout shift) */
.lgv-home-hero__placeholder { display: grid; place-items: center; aspect-ratio: 4 / 5; padding: 24px; border-radius: 18px; background: #efe6d8; } /* reserved space until the real photo arrives */
.lgv-trust { background: var(--lgv-dark); color: var(--lgv-on-dark); } /* dark trust strip */
.lgv-trust__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; list-style: none; font-weight: 600; } /* four points in a row */
.lgv-trust__list li::before { content: "✓"; margin-right: 8px; color: var(--lgv-gold); } /* gold tick before each point */
.lgv-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; } /* 4 x 2 tiles on desktop */
.lgv-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 132px; padding: 20px; border: 1px solid var(--lgv-line); border-radius: 14px; background: #fff; color: var(--lgv-ink) !important; text-decoration: none !important; transition: border-color .2s, box-shadow .2s, transform .2s; } /* one tile */
.lgv-tile:hover { border-color: var(--lgv-gold); box-shadow: 0 8px 24px rgba(36,24,12,.08); transform: translateY(-2px); } /* hover lift */
.lgv-tile:focus-visible { outline: 3px solid var(--lgv-gold); outline-offset: 2px; } /* keyboard focus */
.lgv-tile__pain { font-size: 19px; font-weight: 700; line-height: 1.3; } /* patient words */
.lgv-tile__name { font-size: 14px; color: var(--lgv-brown); font-weight: 600; } /* treatment name */
/* tiles with a treatment photo on top (owner, 19.11) */
.lgv-tile--photo { justify-content: flex-start; gap: 0; min-height: 0; padding: 0; overflow: hidden; } /* photo edge to edge, text below */
.lgv-tile__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #efe6d8; } /* fixed 3:2 frame, warm tint while loading */
.lgv-tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; } /* photo fills the frame */
.lgv-tile:hover .lgv-tile__media img { transform: scale(1.04); } /* gentle zoom on hover */
.lgv-tile__media .lgv-photo-tbd { height: 100%; padding: 8px; border-width: 0 0 1px; border-radius: 0; font-size: 12px; } /* placeholder in the same frame */
.lgv-tile__body { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 12px; padding: 16px 18px 18px; } /* text block under the photo */
@media (prefers-reduced-motion: reduce) { .lgv-tile__media img { transition: none; } .lgv-tile:hover .lgv-tile__media img { transform: none; } } /* no zoom for reduced motion */
.lgv-direction { padding: 32px; border-radius: 16px; background: #fff; border: 1px solid var(--lgv-line); } /* big direction card */
.lgv-direction h3 { font-size: 24px; } /* card title */
.lgv-direction h3 a { color: var(--lgv-ink) !important; text-decoration: none; } /* title link */
.lgv-direction p { color: var(--lgv-muted); } /* card text */
.lgv-direction__link { color: var(--lgv-brown) !important; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; } /* text link to the hub */
.lgv-direction { overflow: hidden; } /* photo follows the rounded corners */
.lgv-direction__media { position: relative; display: block; margin: -32px -32px 24px; aspect-ratio: 3 / 2; overflow: hidden; background: #efe6d8; } /* edge-to-edge 3:2 photo on top of the card (owner, 19.11) */
.lgv-direction__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; } /* photo fills the frame */
.lgv-direction:hover .lgv-direction__media img { transform: scale(1.03); } /* gentle zoom on hover */
.lgv-direction__media .lgv-photo-tbd { height: 100%; border-width: 0 0 1px; border-radius: 0; } /* placeholder in the same frame */
@media (prefers-reduced-motion: reduce) { .lgv-direction__media img { transition: none; } .lgv-direction:hover .lgv-direction__media img { transform: none; } } /* no zoom for reduced motion */
.lgv-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } /* four point cards */
.lgv-points--three { grid-template-columns: repeat(3, 1fr); } /* three point cards */
.lgv-points > div { padding: 22px; border-top: 3px solid var(--lgv-gold); background: #fff; border-radius: 0 0 12px 12px; } /* one point */
.lgv-points p { margin: 0; color: var(--lgv-muted); font-size: 16px; } /* point text */
.lgv-points .lgv-tbd { display: inline-block; margin-top: 8px; padding: 2px 8px; font-size: 13px; } /* small inline TBD tag */
.lgv-section--cream .lgv-points > div { background: #fff; } /* white cards on cream */
.lgv-steps--four { grid-template-columns: repeat(4, 1fr); } /* four steps on desktop */
.lgv-home .lgv-steps li { background: #fff; } /* white step cards */
.lgv-home .lgv-faq a { color: var(--lgv-brown); text-decoration: underline; } /* link inside an answer */
@media (max-width: 1023px) {
  .lgv-home-hero__grid { grid-template-columns: 1fr; gap: 28px; } /* stack hero */
  .lgv-home-hero__media img, .lgv-home-hero__placeholder { aspect-ratio: 16 / 10; } /* wider, lower photo on tablets */
  .lgv-tiles, .lgv-points, .lgv-steps--four { grid-template-columns: 1fr 1fr; } /* two columns */
  .lgv-points--three { grid-template-columns: 1fr; } /* stack comparisons */
}
@media (max-width: 767px) {
  .lgv-home-hero { padding: 32px 0 40px; } /* tighter hero on phones */
  .lgv-home-hero__media { order: 2; } /* photo after the text and buttons */
  .lgv-trust__list { justify-content: flex-start; font-size: 15px; } /* wrap points */
  .lgv-tile { min-height: 112px; padding: 16px; } /* smaller tiles */
  .lgv-tile--photo { min-height: 0; padding: 0; } /* photo tiles keep their own spacing */
  .lgv-tile__body { gap: 8px; padding: 12px 14px 14px; } /* tighter text block on phones */
  .lgv-tile__pain { font-size: 17px; } /* smaller tile text */
  .lgv-points, .lgv-steps--four { grid-template-columns: 1fr; } /* stack cards */
  .lgv-direction { padding: 24px; } /* tighter cards */
  .lgv-direction__media { margin: -24px -24px 20px; } /* photo stays edge to edge with the smaller padding */
}

/* ---------- stage 4: doctors, pricing, about, contact, form ---------- */
.lgv-doctors { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 8px 0 20px; } /* doctor grid */
.lgv-doctors--one { grid-template-columns: minmax(0, 560px); } /* single card on treatment pages */
.lgv-doctor { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--lgv-line); border-radius: 16px; background: #fff; } /* one doctor card */
.lgv-doctor__photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #efe6d8; } /* portrait with fixed ratio */
.lgv-doctor__photo--tbd { display: grid; place-items: center; padding: 20px; aspect-ratio: 16 / 9; } /* placeholder is lower than a real portrait */
.lgv-doctors--one .lgv-doctor { flex-direction: row; } /* side-by-side on treatment pages */
.lgv-doctors--one .lgv-doctor__photo { width: 200px; flex: none; } /* small portrait */
.lgv-doctor__body { display: flex; flex-direction: column; gap: 6px; padding: 20px; } /* card text */
.lgv-doctor__name { margin: 0; font-size: 20px; } /* name */
.lgv-doctor__role { margin: 0; color: var(--lgv-brown); font-weight: 600; } /* role */
.lgv-doctor__facts { margin: 6px 0; } /* facts list */
.lgv-doctor__facts div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; padding: 4px 0; font-size: 15px; } /* one fact row */
.lgv-doctor__facts dt { color: var(--lgv-muted); } /* fact label */
.lgv-doctor__facts dd { margin: 0; } /* fact value */
.lgv-doctor__approach { margin: 0 0 12px; color: var(--lgv-muted); font-size: 15px; } /* approach line */
.lgv-doctor .lgv-btn { margin-top: auto; align-self: flex-start; white-space: normal; text-align: center; line-height: 1.3; padding-top: 10px; padding-bottom: 10px; } /* CTA at the bottom, long names wrap */
.lgv-price-consult { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 28px; border: 2px solid var(--lgv-gold); border-radius: 16px; } /* consultation price box */
.lgv-price-consult h2 { margin-bottom: 4px; } /* tighter heading */
.lgv-price-consult p { margin: 0; } /* no extra margins */
.lgv-table-wrap { overflow-x: auto; } /* tables scroll inside themselves on small screens */
.lgv-prices { width: 100%; border-collapse: collapse; font-size: 16px; } /* price table */
.lgv-prices th, .lgv-prices td { padding: 14px 12px; border-bottom: 1px solid var(--lgv-line); text-align: left; vertical-align: top; } /* cells */
.lgv-prices thead th { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--lgv-brown); } /* header row */
.lgv-prices tbody th { font-weight: 600; } /* treatment name column */
.lgv-prices a { color: var(--lgv-ink); text-decoration: underline; text-underline-offset: 3px; } /* treatment links */
.lgv-prices td { white-space: nowrap; } /* prices on one line */
.lgv-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } /* interior photos */
.lgv-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; } /* photo */
.lgv-gallery__tbd { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 16px; border-radius: 12px; background: #fff; } /* photo placeholder */
.lgv-equipment { list-style: none; margin: 0; padding: 0; } /* device list */
.lgv-equipment li { display: grid; grid-template-columns: 280px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--lgv-line); } /* device row */
.lgv-equipment a { color: var(--lgv-brown); } /* treatment links */
.lgv-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; } /* details + form */
.lgv-contact__list { list-style: none; margin: 0 0 24px; padding: 0; } /* contact lines */
.lgv-contact__list li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; } /* icon + link */
.lgv-contact__list .lgv-icon { margin-top: 4px; color: var(--lgv-brown); } /* icons */
.lgv-contact__list a { color: var(--lgv-ink); text-decoration: underline; text-underline-offset: 3px; } /* links */
.lgv-contact h3 { margin-top: 20px; } /* sub-headings */
.lgv-map { display: grid; place-items: center; margin-top: 24px; aspect-ratio: 16 / 10; border-radius: 14px; background: #efe6d8 repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.35) 14px 28px); overflow: hidden; } /* static map preview */
.lgv-map iframe { width: 100%; height: 100%; border: 0; } /* embedded map */
.lgv-contact__form { padding: 28px; border: 1px solid var(--lgv-line); border-radius: 16px; background: var(--lgv-cream); } /* form card */
.lgv-form p { margin: 0 0 16px; } /* field spacing */
.lgv-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; } /* field labels */
.lgv-form input[type=text], .lgv-form input[type=tel], .lgv-form select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #b9ab98; border-radius: 10px; background: #fff; font: 16px var(--lgv-font); color: var(--lgv-ink); } /* inputs: 16px avoids zoom on iPhone */
.lgv-form input:focus-visible, .lgv-form select:focus-visible { outline: 3px solid var(--lgv-gold); outline-offset: 1px; } /* focus */
.lgv-form fieldset { margin: 0 0 16px; padding: 0; border: 0; } /* radio group */
.lgv-form legend { margin-bottom: 6px; font-weight: 600; font-size: 15px; } /* radio group title */
.lgv-radio { display: inline-flex !important; align-items: center; gap: 6px; min-height: 44px; margin-right: 18px; font-weight: 400 !important; } /* radio option, 44px target */
.lgv-consent label { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 15px !important; } /* consent line */
.lgv-consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; } /* bigger checkbox */
.lgv-consent a { color: var(--lgv-brown); text-decoration: underline; } /* privacy link */
.lgv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; } /* honeypot hidden from people */
.lgv-form-error { padding: 12px 14px; border-radius: 10px; background: #fef2f2; border: 1px solid #b91c1c; color: #7f1d1d; } /* error message */
.lgv-form .lgv-btn { width: 100%; } /* full-width submit */
@media (max-width: 1023px) {
  .lgv-contact { grid-template-columns: 1fr; gap: 32px; } /* stack contact columns */
  .lgv-equipment li { grid-template-columns: 1fr; gap: 4px; } /* stack device rows */
}
@media (max-width: 767px) {
  .lgv-gallery { grid-template-columns: 1fr; } /* one photo per row */
  .lgv-doctors--one .lgv-doctor { flex-direction: column; } /* stack the single card */
  .lgv-doctors--one .lgv-doctor__photo { width: 100%; } /* full-width portrait */
  .lgv-contact__form { padding: 20px; } /* tighter form card */
}

/* ---------- stage 5: consent banner ---------- */
.lgv-consent-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 10000; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; max-width: 760px; margin: 0 auto; padding: 16px 20px; border-radius: 14px; background: #fff; color: var(--lgv-ink); box-shadow: 0 10px 40px rgba(36,24,12,.25); font-size: 15px; } /* bottom card */
.lgv-consent-bar[hidden] { display: none; } /* respect the hidden attribute */
.lgv-consent-bar p { margin: 0; flex: 1 1 320px; } /* text */
.lgv-consent-bar a { color: var(--lgv-brown); text-decoration: underline; } /* policy link */
.lgv-consent-bar div { display: flex; gap: 10px; } /* buttons */
.lgv-consent-bar .lgv-btn { margin: 0; padding: 0 22px; border: 2px solid var(--lgv-brown); border-radius: 999px; font: 600 15px/1 var(--lgv-font); } /* both buttons the same size: undo Hello's pink button reset and the outline button's 16px top margin (19.11) */
.lgv-consent-bar .lgv-btn--primary, .lgv-consent-bar .lgv-btn--primary:focus { background: var(--lgv-brown); color: #fff !important; } /* Accept */
.lgv-consent-bar .lgv-btn--primary:hover { background: var(--lgv-brown-dark); border-color: var(--lgv-brown-dark); } /* Accept hover */
.lgv-consent-bar .lgv-btn--outline-dark, .lgv-consent-bar .lgv-btn--outline-dark:focus { background: #fff; color: var(--lgv-brown) !important; } /* Decline: same weight, outlined */
.lgv-consent-bar .lgv-btn--outline-dark:hover { background: #f6efe6; } /* Decline hover */
.lgv-consent-bar .lgv-btn:focus-visible { outline: 3px solid var(--lgv-gold); outline-offset: 2px; box-shadow: none; } /* keyboard focus in brand colours */
@media (max-width: 600px) { .lgv-consent-bar div { width: 100%; } .lgv-consent-bar .lgv-btn { flex: 1; } } /* phones: two equal buttons across the card */
.lgv-consent-bar .lgv-btn { min-height: 44px; } /* touch size */
.lgv-linkbtn { padding: 0; border: 0; background: none; color: var(--lgv-on-dark); font: inherit; text-decoration: underline; cursor: pointer; } /* footer "Cookie settings" looks like a link */
.lgv-linkbtn:hover, .lgv-linkbtn:focus { background: none; color: #fff; } /* undo Hello's button colours */
@media (max-width: 767px) {
  .lgv-consent-bar { bottom: calc(64px + env(safe-area-inset-bottom)); } /* sit above the WhatsApp/Call bar */
}

/* ---------- opening hours in the top bar ---------- */
.lgv-topbar__hours { cursor: default; } /* plain text, not a link */
.lgv-topbar__hours:hover { text-decoration: none !important; color: var(--lgv-on-dark) !important; } /* no link hover */
@media (max-width: 767px) {
  .lgv-topbar__hours { display: none; } /* phones: hours stay in the footer and on Contact */
}

/* ---------- links to the manufacturer (BTL), open in a new tab ---------- */
.lgv-ext { color: var(--lgv-brown) !important; text-decoration: underline; text-underline-offset: 3px; } /* visible as a link inside text */
.lgv-ext:hover { color: var(--lgv-brown-dark) !important; } /* hover */
.lgv-ext::after { content: "↗"; display: inline-block; margin-left: 2px; font-size: .8em; text-decoration: none; } /* small "external" arrow */
.lgv-trust .lgv-ext { color: var(--lgv-on-dark) !important; } /* light link on the dark trust strip */
.lgv-ext:focus-visible { outline: 3px solid var(--lgv-gold); outline-offset: 2px; } /* keyboard focus */

/* ---------- breadcrumbs (Home › Hub › Page) ---------- */
.lgv-crumbs { background: var(--lgv-cream); font-size: 14px; } /* thin bar under the header, same tone as the page heroes */
.lgv-crumbs__nav { padding: 12px 0 0; color: var(--lgv-muted); line-height: 1.5; } /* trail */
.lgv-crumbs__nav a { color: var(--lgv-brown) !important; text-decoration: underline; text-underline-offset: 3px; } /* links */
.lgv-crumbs__nav a:hover { color: var(--lgv-brown-dark) !important; } /* hover */
.lgv-crumbs__nav a:focus-visible { outline: 3px solid var(--lgv-gold); outline-offset: 2px; } /* keyboard focus */
.lgv-crumbs__nav .breadcrumb_last { color: var(--lgv-ink); } /* current page */
.lgv-crumbs + #lgv-content + .lgv-treatment .lgv-hero, .lgv-crumbs + #lgv-content + main .lgv-hero { padding-top: 32px; } /* less space above the H1 when breadcrumbs are shown */
@media (max-width: 767px) {
  .lgv-crumbs { font-size: 13px; } /* smaller on phones */
}

/* ---------- Technology page: devices, awards, press, research ---------- */
.lgv-tech__jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; } /* chips to jump to a device */
.lgv-tech__jump a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--lgv-line); border-radius: 999px; background: #fff; color: var(--lgv-ink) !important; font-size: 14px; text-decoration: none; } /* one chip */
.lgv-tech__jump a:hover { border-color: var(--lgv-gold); color: var(--lgv-brown) !important; } /* hover */
.lgv-tech__jump a:focus-visible { outline: 3px solid var(--lgv-gold); outline-offset: 2px; } /* keyboard focus */
.lgv-tech__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 8px; } /* device title + product link */
.lgv-tech__head h2 { margin: 0; } /* tighter heading */
.lgv-tech__uses { margin: 0 0 20px; color: var(--lgv-muted); font-size: 16px; } /* our treatments line */
.lgv-tech__uses a { color: var(--lgv-brown); text-decoration: underline; text-underline-offset: 3px; } /* links to our treatments */
.lgv-news { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; } /* card grid */
.lgv-news__card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--lgv-line); border-radius: 14px; background: #fff; } /* one publication */
.lgv-news__meta { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--lgv-muted); font-weight: 600; } /* type + source */
.lgv-news__type { padding: 2px 8px; border-radius: 999px; background: var(--lgv-cream); color: var(--lgv-brown); font-size: 12px; letter-spacing: .03em; text-transform: uppercase; } /* badge */
.lgv-news__title { margin: 0; font-size: 17px; line-height: 1.35; } /* headline */
.lgv-news__title .lgv-ext { color: var(--lgv-ink) !important; text-decoration: none; } /* headline link */
.lgv-news__title .lgv-ext:hover { color: var(--lgv-brown) !important; text-decoration: underline; } /* hover */
.lgv-news__summary { margin: 0; font-size: 15px; color: var(--lgv-muted); } /* our summary */
html { scroll-behavior: smooth; } /* smooth jump to device sections */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } } /* respect reduced motion */
.lgv-tech [id^="tech-"] { scroll-margin-top: 130px; } /* sections are not hidden under the sticky top bar + header */

/* ---------- desktop header: 8 menu items + button (owner split Our Services into Aesthetic / Wellness & Recovery, 19.11) ---------- */
.lgv-topbar__inner.lgv-wrap, .lgv-header__inner.lgv-wrap { max-width: 1360px; } /* top bar and header a little wider than the content column */
@media (min-width: 1280px) {
  .lgv-nav__link { white-space: nowrap; padding: 0 10px; } /* labels never wrap; spacing that leaves room for wider system fonts */
}
@media (min-width: 1280px) and (max-width: 1365px) {
  .lgv-header__inner { gap: 16px; } /* tighter spacing between logo, menu and button */
  .lgv-nav__link { padding: 0 8px; font-size: 14px; } /* compact menu on small laptops */
}

/* ---------- Technology page: publication logos and magazine covers ---------- */
.lgv-news__logo { display: block; width: auto; height: 36px; max-width: 160px; object-fit: contain; object-position: left center; margin-bottom: 4px; } /* publication logo on a card */
.lgv-news__wordmark { margin: 0 0 4px; min-height: 36px; display: flex; align-items: center; font: 700 15px/1.2 Georgia, "Times New Roman", serif; letter-spacing: .02em; color: var(--lgv-ink); } /* journal name when there is no logo */
.lgv-covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; } /* cover grid */
.lgv-cover { display: flex; flex-direction: column; gap: 8px; } /* one magazine */
.lgv-cover__link { display: flex; flex-direction: column; gap: 6px; color: var(--lgv-ink) !important; text-decoration: none !important; } /* card link */
.lgv-cover__link img { width: 100%; height: auto; aspect-ratio: 269 / 333; object-fit: cover; border-radius: 6px; box-shadow: 0 6px 18px rgba(36,24,12,.18); transition: transform .2s, box-shadow .2s; } /* cover with a magazine-like shadow */
.lgv-cover__link:hover img { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(36,24,12,.24); } /* hover lift */
.lgv-cover__link:focus-visible { outline: 3px solid var(--lgv-gold); outline-offset: 4px; border-radius: 6px; } /* keyboard focus */
.lgv-cover__pub { margin-top: 4px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--lgv-brown); } /* publication */
.lgv-cover__title { font-size: 15px; line-height: 1.35; } /* headline */
.lgv-cover__link:hover .lgv-cover__title { text-decoration: underline; } /* hover */
.lgv-cover__devices { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; font-size: 12px; } /* device chips */
.lgv-cover__devices a, .lgv-cover__devices span { padding: 2px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--lgv-line); color: var(--lgv-brown) !important; text-decoration: none; } /* one chip */
.lgv-cover__devices a:hover { border-color: var(--lgv-gold); } /* hover */
@media (max-width: 767px) {
  .lgv-covers { grid-template-columns: repeat(2, 1fr); gap: 14px; } /* two covers per row on phones */
}

/* ---------- Technology: magazine cards in the same row as articles ---------- */
.lgv-news__card--mag { padding: 14px 14px 20px; } /* a little less padding around the cover */
.lgv-mag__cover { display: block; margin-bottom: 6px; } /* cover link */
.lgv-mag__cover img { display: block; width: 100%; height: 200px; object-fit: cover; object-position: top center; border-radius: 8px; box-shadow: 0 4px 14px rgba(36,24,12,.16); transition: transform .2s; } /* cover cropped to a fixed height so the row stays even */
.lgv-mag__cover:hover img { transform: translateY(-2px); } /* hover lift */
.lgv-news__card--mag .lgv-news__meta, .lgv-news__card--mag .lgv-news__title { padding: 0 6px; } /* align text with the cover edges */
.lgv-news__card--mag .lgv-cover__devices { padding: 0 6px; color: var(--lgv-muted); align-items: center; } /* "Also:" line */
.lgv-news .lgv-news__logo { height: 36px; } /* keep article logos the same size next to covers */

/* Treatment and equipment photos (owner's request, 19.11) */
.lgv-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; } /* text left, equipment photo right */
.lgv-split__text > * { max-width: 760px; } /* readable line length, as in narrow sections */
.lgv-split__media { display: grid; gap: 14px; padding-top: 8px; } /* one or two equipment photos */
.lgv-photo { margin: 0; } /* figure without browser margins */
.lgv-photo img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 12px; background: #efe6d8; } /* photo, warm tint while loading */
.lgv-photo--43 img { aspect-ratio: 4 / 3; } /* equipment photo shape */
.lgv-photo--32 img { aspect-ratio: 3 / 2; } /* treatment photo shape */
.lgv-photo figcaption { margin-top: 8px; color: var(--lgv-muted); font-size: 14px; line-height: 1.4; } /* optional caption */
.lgv-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; } /* three treatment photos under the steps */
.lgv-photo-tbd { display: grid; place-items: center; padding: 16px; border: 1px dashed #b45309; border-radius: 12px; background: #fff7ed; color: #7c2d12; font-size: 14px; line-height: 1.4; text-align: center; } /* visible [TBD] tile in the final photo shape */
.lgv-photo-tbd--43 { aspect-ratio: 4 / 3; } /* equipment placeholder shape */
.lgv-photo-tbd--32 { aspect-ratio: 3 / 2; } /* treatment placeholder shape */
@media (max-width: 1023px) {
  .lgv-split { grid-template-columns: 1fr; gap: 24px; } /* equipment photo under the text */
  .lgv-split__media { padding-top: 0; max-width: 640px; } /* not wider than needed */
}
@media (max-width: 767px) {
  .lgv-photos { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; } /* one photo per row */
  .lgv-photos .lgv-photo-tbd:nth-child(n+2) { display: none; } /* phones: one placeholder is enough, the page stays short */
}
.lgv-tech__summary { max-width: 760px; margin: 0 0 12px; } /* device description from the Devices section (Media page) */

/* Equipment photo slider (19.11): swipe on phones, arrows and dots everywhere, no library */
.lgv-slider { position: relative; min-width: 0; } /* wrapper */
.lgv-slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 12px; outline-offset: 4px; } /* one photo per view, snaps into place */
.lgv-slider__track::-webkit-scrollbar { display: none; } /* hide the scrollbar (Safari, Chrome) */
.lgv-slider__track:focus-visible { outline: 2px solid var(--lgv-brown); } /* visible keyboard focus */
.lgv-slider__slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; } /* full-width slide */
.lgv-slider__nav { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; } /* controls under the photo */
.lgv-slider__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--lgv-line); border-radius: 50%; background: #fff; color: var(--lgv-brown); cursor: pointer; } /* round arrow, 44 px touch target */
.lgv-slider__btn:hover { background: var(--lgv-cream); } /* hover */
.lgv-slider__btn:focus-visible, .lgv-slider__dot:focus-visible { outline: 2px solid var(--lgv-brown); outline-offset: 2px; } /* keyboard focus */
.lgv-slider__dots { display: flex; } /* dots row */
.lgv-slider__dot { display: grid; place-items: center; width: 24px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; } /* tall invisible hit area */
.lgv-slider__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lgv-line); transition: background .2s, transform .2s; } /* the visible dot */
.lgv-slider__dot[aria-current="true"]::before { background: var(--lgv-brown); transform: scale(1.25); } /* current photo */
@media (prefers-reduced-motion: reduce) { .lgv-slider__dot::before { transition: none; } } /* no animation */
.lgv-slider__btn:hover, .lgv-slider__btn:focus, .lgv-slider__btn:active { background: var(--lgv-cream); color: var(--lgv-brown); border-color: var(--lgv-line); } /* keep the arrow brown (the parent theme paints hovered/focused buttons pink with white text) */
.lgv-slider__dot:hover, .lgv-slider__dot:focus, .lgv-slider__dot:active { background: none; } /* no coloured box behind a dot */
.lgv-slider__dot:hover::before { background: var(--lgv-gold); } /* hover hint */
.lgv-slider__play { display: none; margin-left: 4px; } /* pause / play: hidden until autoplay can run (site.js adds .is-auto) */
.lgv-slider.is-auto .lgv-slider__play { display: grid; } /* shown */
.lgv-slider__ico-play, .lgv-slider.is-stopped .lgv-slider__ico-pause { display: none; } /* pause icon while playing */
.lgv-slider.is-stopped .lgv-slider__ico-play { display: block; } /* play icon while stopped */

/* Treatment hero with photo (owner, 19.11) */
.lgv-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; } /* text left, photo right */
.lgv-hero__grid .lgv-hero__text > * { max-width: 640px; } /* readable text width next to the photo */
.lgv-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; } /* hero photo, fixed shape (no layout shift) */
.lgv-hero__media .lgv-photo-tbd { border-radius: 18px; } /* placeholder in the same shape and corners */
.lgv-hero .lgv-hub-intro { margin: 0 0 28px; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.5; color: var(--lgv-muted); } /* hub intro under the H1, same look as a treatment subtitle */
.lgv-hub__body { padding-bottom: 16px; } /* groups and doctors column on hub pages */
@media (max-width: 1023px) {
  .lgv-hero__grid { grid-template-columns: 1fr; gap: 28px; } /* photo under the text */
  .lgv-hero__media { max-width: 720px; } /* not wider than needed on tablets */
}

/* Treatment sections have anchors (20.11): "View on page" links in the admin land below the sticky header */
.lgv-section[id] { scroll-margin-top: 130px; } /* room for the sticky header */

/* "On this page" side list on treatment pages (owner, 26.11): wide screens only */
.lgv-toc-zone { position: relative; } /* frame for the side rail */
.lgv-toc-rail { display: none; } /* phones and tablets: no side list */
@media (min-width: 1280px) {
  .lgv-toc-zone > .lgv-section > .lgv-wrap { padding-right: 308px; } /* room for the rail: 240 px card + 48 px gap + 20 px edge */
  .lgv-toc-rail { display: block; position: absolute; z-index: 2; top: 56px; bottom: 56px; right: max(20px, calc((100% - var(--lgv-wrap)) / 2 + 20px)); width: 240px; pointer-events: none; } /* column on the right edge of the content, level with the first heading */
  .lgv-toc { position: sticky; top: 140px; max-height: calc(100vh - 170px); overflow-y: auto; padding: 18px 18px 14px; border: 1px solid var(--lgv-line); border-radius: 14px; background: #fff; box-shadow: 0 6px 24px rgba(31, 26, 20, .06); pointer-events: auto; } /* card stays just under the sticky header while scrolling */
  .admin-bar .lgv-toc { top: 172px; } /* logged in: below the admin bar as well */
}
.lgv-toc__title { margin: 0 0 10px; color: var(--lgv-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; } /* small "On this page" label */
.lgv-toc__list { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--lgv-line); } /* thin guide line */
.lgv-toc__link { display: block; margin-left: -2px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; color: var(--lgv-muted); font-size: 15px; line-height: 1.35; text-decoration: none; } /* one link per section */
.lgv-toc__link:hover { color: var(--lgv-brown); } /* hover */
.lgv-toc__link[aria-current="true"] { border-left-color: var(--lgv-brown); color: var(--lgv-brown); font-weight: 700; } /* section being read */
.lgv-toc__link:focus-visible { outline: 3px solid var(--lgv-gold); outline-offset: 2px; border-radius: 4px; } /* keyboard focus */
@media print { .lgv-toc-rail { display: none; } .lgv-toc-zone > .lgv-section > .lgv-wrap { padding-right: 20px; } } /* print: full-width text, no list */

/* <button> versions of our buttons: remove the pink #c36 border and hover colour of the Hello parent theme (pre-launch audit, 26.11) */
button.lgv-btn--primary, button.lgv-btn--light { border: 0; } /* filled buttons have no border */
button.lgv-btn--primary:hover, button.lgv-btn--primary:focus { background: var(--lgv-brown-dark); color: #fff; } /* brand hover instead of pink */
button.lgv-btn--light:hover, button.lgv-btn--light:focus { background: var(--lgv-cream); color: var(--lgv-brown); } /* light button hover */
button.lgv-btn--outline-dark:hover, button.lgv-btn--outline-dark:focus { background: var(--lgv-cream); color: var(--lgv-brown); border-color: var(--lgv-brown); } /* outlined button hover (Show map) */
.error404 main a:not(.lgv-btn) { color: var(--lgv-brown); text-underline-offset: 3px; } /* 404 page: brand link colour instead of the Hello pink */
.error404 main a:not(.lgv-btn):hover { color: var(--lgv-brown-dark); } /* darker on hover */

/* Guides (home.php list, single.php article), owner 26.11 */
.lgv-guides__hidden { padding: 10px 16px; background: #fff8e5; border-bottom: 1px solid #dba617; color: var(--lgv-ink); font-size: 15px; text-align: center; } /* admin-only "hidden section" strip */
.lgv-guide__meta { margin: 0 0 24px; color: var(--lgv-muted); font-size: 15px; } /* reviewed by / updated line */
.lgv-guide-card .lgv-eyebrow { margin: 0; font-size: 13px; } /* topic label on a card */
.lgv-guide-card .lgv-card__title { margin: 0; font-size: 20px; line-height: 1.3; } /* card title (h2 in the list) */
.lgv-guide-card .lgv-guide__meta { margin: auto 0 0; font-size: 14px; } /* review line pinned to the card bottom */
.lgv-prose { font-size: 18px; line-height: 1.7; color: var(--lgv-ink); } /* readable article text */
.lgv-prose > * + * { margin-top: 1em; } /* even spacing between blocks */
.lgv-prose h2 { margin: 1.8em 0 .5em; font-size: clamp(24px, 3vw, 30px); line-height: 1.25; } /* article sections */
.lgv-prose h2[id] { scroll-margin-top: 130px; } /* "On this page" jumps stop below the sticky header */
.lgv-prose h3 { margin: 1.5em 0 .4em; font-size: 21px; line-height: 1.3; } /* sub-sections */
.lgv-prose ul, .lgv-prose ol { padding-left: 1.3em; } /* list indent */
.lgv-prose li + li { margin-top: .35em; } /* list item spacing */
.lgv-prose a { color: var(--lgv-brown); text-underline-offset: 3px; } /* brand link colour */
.lgv-prose blockquote { margin-left: 0; padding: 12px 20px; border-left: 4px solid var(--lgv-gold); background: var(--lgv-cream); } /* highlighted note */
.lgv-prose img { max-width: 100%; height: auto; border-radius: 12px; } /* images fit the column */
.lgv-prose table { width: 100%; border-collapse: collapse; font-size: 16px; } /* comparison tables */
.lgv-prose th, .lgv-prose td { padding: 10px 12px; border: 1px solid var(--lgv-line); text-align: left; vertical-align: top; } /* table cells */
.lgv-prose th { background: var(--lgv-cream); } /* table header */
.lgv-guide__sources { padding-left: 1.3em; font-size: 15px; color: var(--lgv-muted); } /* numbered sources */
.lgv-guide__sources a { color: var(--lgv-brown); } /* source links */
.lgv-guides .nav-links { display: flex; gap: 12px; margin-top: 32px; } /* pagination row */

/* Hub "Where to start" (27.11): patient words → treatment page */
.lgv-paths__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; } /* one column on phones */
@media (min-width: 768px) { .lgv-paths__list { grid-template-columns: 1fr 1fr; } } /* two columns from tablets */
.lgv-paths__link { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 20px; border: 1px solid var(--lgv-line); border-radius: 12px; text-decoration: none; color: inherit; transition: border-color .2s; } /* whole row is one link */
.lgv-paths__link:hover, .lgv-paths__link:focus-visible { border-color: currentColor; } /* visible hover and keyboard focus */
.lgv-paths__words { font-weight: 600; } /* patient words */
.lgv-paths__name { font-size: .925em; text-decoration: underline; text-underline-offset: 3px; } /* treatment name, looks like a link */
.lgv-paths__note { margin-top: 24px; padding: 14px 18px; border-left: 3px solid currentColor; font-size: .95em; } /* safety note */
.lgv-paths__note p { margin: 0; } /* no extra gap inside the note */
