/* ClinicTrue ornament and picture layer (loaded after clinictrue.css).
   Institutional navy system stays. This adds the photo covers and headers and a thin lattice trim.
   No background art sits behind text, tables, prices or forms. */

:root {
  --ct-scrim: 11, 31, 59;            /* deep navy as r,g,b for scrims */
}


/* ---- header: utility bar, a 10px lattice trim, then the plain white header row with a 1px line under it ---- */
.ct-trim { height: 10px; background: url("../ct/art/lattice.f36f6d0ffb65.svg") left center / 24px 10px repeat-x;
  border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.ct-trim--footer { margin-top: 48px; }
.site-header { border-bottom: 1px solid var(--line); }

/* ---- photo blocks ---- */
.ct-caption { position: absolute; right: 10px; bottom: 8px; z-index: 3; font: 500 11px/1.2 var(--sans);
  color: rgba(255,255,255,.92); background: rgba(var(--ct-scrim), .72); padding: 3px 7px; border-radius: 3px; }

.ct-hero { position: relative; isolation: isolate; color: #fff; background: var(--deep); overflow: hidden; }
.ct-hero__media { position: relative; aspect-ratio: 3 / 2; }
.ct-hero__media picture, .ct-hero__media img { display: block; width: 100%; height: 100%; }
.ct-hero__media img { object-fit: cover; }
.ct-hero__scrim { display: none; }
.ct-hero__inner { padding-block: 26px 30px; display: grid; }
.ct-hero__copy { display: grid; gap: 16px; }
.ct-hero h1 { color: #fff; }
.ct-hero .eyebrow { color: #BFD6F0; }
.ct-hero p { font-size: 18px; color: #EAF1F9; }
.ct-hero .searchbox { border-color: #fff; }
@media (min-width: 801px) {
  .ct-hero { min-height: 470px; aspect-ratio: 16 / 7; display: flex; align-items: center; }
  .ct-hero__media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -2; }
  .ct-hero__media img { object-position: 72% 50%; }
  .ct-hero__scrim { display: block; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(var(--ct-scrim), .93) 0%, rgba(var(--ct-scrim), .90) 34%, rgba(var(--ct-scrim), .74) 44%, rgba(var(--ct-scrim), 0) 58%); }
  .ct-hero__inner { width: 100%; padding-block: 48px; }
  .ct-hero__copy { width: min(500px, 38vw); min-width: 340px; }
  .ct-hero h1 { font-size: clamp(30px, 3.6vw, 50px); }
  .ct-hero p { font-size: clamp(15px, 1.35vw, 18px); }
}

.ct-photohead { position: relative; isolation: isolate; color: #fff; background: var(--deep); overflow: hidden; min-height: 200px; display: flex; align-items: flex-end; }
.ct-photohead > picture, .ct-photohead > img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.ct-photohead img { object-fit: cover; }
.ct-photohead__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--ct-scrim), .86), rgba(var(--ct-scrim), .84)); }
@media (min-width: 800px) {
  .ct-photohead { min-height: 280px; }
  .ct-photohead__scrim { background: linear-gradient(90deg, rgba(var(--ct-scrim), .92) 0%, rgba(var(--ct-scrim), .88) 50%, rgba(var(--ct-scrim), .30) 100%); }
}
.ct-photohead__inner { width: 100%; padding-block: 28px 34px; display: grid; gap: 10px; }
.ct-photohead__inner > * { max-width: 62ch; }
.ct-photohead h1, .ct-photohead .crumb, .ct-photohead .crumb a, .ct-photohead p { color: #fff; }
.ct-photohead .crumb { opacity: .95; }
.ct-photohead p { font-size: 18px; }

/* ---- picture cards ---- */
.ct-cards { display: grid; gap: 14px; }
.ct-cards--countries { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .ct-cards--countries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* cities: 2 columns on phones and tablets, 3 on desktop; a last card left alone spans the row */
.ct-cards--cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ct-cards--cities .ct-card:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 6; }
@media (min-width: 1000px) {
  .ct-cards--cities { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ct-cards--cities .ct-card { grid-column: span 2; }
  .ct-cards--cities .ct-card:last-child:nth-child(odd) { aspect-ratio: 8 / 5; grid-column: span 2; }
  .ct-cards--cities .ct-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; aspect-ratio: 16 / 6; }
  .ct-cards--cities .ct-card:nth-last-child(2):nth-child(3n+1), .ct-cards--cities .ct-card:last-child:nth-child(3n+2) { grid-column: span 3; aspect-ratio: 16 / 7; }
}
.ct-card { position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--deep); color: #fff;
  text-decoration: none; aspect-ratio: 8 / 5; isolation: isolate; }
.ct-card--lg { aspect-ratio: 16 / 8; }
.ct-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s ease; }
.ct-card:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .ct-card:hover img { transform: none; } }
.ct-card__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--ct-scrim), 0) 0%, rgba(var(--ct-scrim), 0) 52%, rgba(var(--ct-scrim), .85) 66%, rgba(var(--ct-scrim), .88) 100%); }
.ct-card__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; display: grid; gap: 2px; }
.ct-card__text b { font: 600 clamp(19px, 2.4vw, 26px)/1.15 var(--serif); color: #fff; }
.ct-card--lg .ct-card__text b { font-size: clamp(24px, 3.2vw, 34px); }
.ct-card__text small { font: 500 13.5px var(--sans); color: #F1F6FB; }
.ct-card:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* mobile safety: nothing may push the page wider than the viewport */
html, body { max-width: 100%; overflow-x: hidden; }
.ct-hero, .ct-photohead { max-width: 100vw; }

/* ---- city+procedure and procedure pages: tight intro block, full-width tables, compact checklist ---- */
.ct-intro { display: grid; gap: 10px; max-width: 72ch; }
.ct-intro p { margin: 0; }
.ct-intro .btn { justify-self: start; margin-top: 4px; }

/* ---- footer: the trim strip sits right above the navy footer ---- */
.site-footer { position: relative; margin-top: 0; padding-top: 22px; overflow: hidden; }
.site-footer .footer-row { padding-top: 6px; }

/* ---- seam: a hairline with a small rotated navy square in the middle ---- */
.ct-seam { display: flex; align-items: center; justify-content: center; max-width: 1000px; margin: 28px auto; padding: 0 24px; }
.ct-seam::before, .ct-seam::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ct-seam i { width: 7px; height: 7px; background: var(--navy); transform: rotate(45deg); margin: 0 14px; }

/* ---- numbers band: mist, three columns with sky rules between, light serif numerals ---- */
.ct-stats { background: var(--mist); padding: 36px 0; }
.ct-stats .eb { margin: 0 0 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.ct-stats .nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ct-stats .nums div { padding: 0 24px; border-left: 1px solid var(--sky); }
.ct-stats .nums div:first-child { padding-left: 0; border-left: 0; }
.ct-stats b { display: block; font-family: var(--serif); font-weight: 300; font-size: 64px; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums lining-nums; }
.ct-stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--slate); }
@media (max-width: 760px) {
  .ct-stats .nums { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ct-stats .nums div { border-left: 0; padding: 14px 0 0; border-top: 1px solid var(--sky); }
  .ct-stats .nums div:first-child { border-top: 0; padding-top: 0; }
  .ct-stats b { font-size: 48px; }
}

/* ---- plain sections: big italic blue numerals, heading, one line; no image, box or border ---- */
.ct-how { padding: 12px 0 40px; }
.ct-how h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 22px; }
.ct-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .ct-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } .ct-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ct-steps li { display: grid; gap: 6px; align-content: start; color: var(--slate); font-size: 16px; }
.ct-steps .no { font: italic 400 clamp(48px, 5vw, 64px)/1 var(--serif); color: var(--blue); }
.ct-steps b { font: 600 20px/1.2 var(--serif); color: var(--navy); }
.ct-how .cta { margin: 24px 0 0; }

/* ---- text grids without boxes: figures are ruled columns, forms are plain ---- */
.ct-figures, .stat-band.ct-figures { background: none; border-radius: 0; padding: 0; box-shadow: none; }
.ct-figures .stat { background: none; border: 0; border-top: 2px solid var(--navy); border-radius: 0; box-shadow: none; }
.ct-plainform { background: none; border: 0; box-shadow: none; padding: 0; }

/* ---- controls and small text that sit on a photo header ---- */
.ct-photohead .btn { background: #fff; color: var(--navy); border-color: #fff; }
.ct-photohead .small, .ct-photohead .clinic-row span { color: #EAF1F9; }
.ct-photohead .clinic-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ct-photohead h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); }
.ct-photohead--clinic h1 { font-size: clamp(26px, 3.4vw, 36px); }

/* ---- photo headers that hold a person: tall, full head, text on the side away from the face ---- */
.ct-photohead--tall .ct-photohead__scrim { background: linear-gradient(90deg, rgba(var(--ct-scrim), .93) 0%, rgba(var(--ct-scrim), .90) 34%, rgba(var(--ct-scrim), .70) 46%, rgba(var(--ct-scrim), 0) 62%); }
@media (min-width: 800px) {
  .ct-photohead--tall { min-height: 0; height: clamp(420px, 29vw, 640px); align-items: center; }
  .ct-photohead--tall .ct-photohead__inner { padding-block: 40px; }
  .ct-photohead--tall .ct-photohead__inner > * { max-width: min(62ch, 47%); }
}
/* under 800px the photo is shown whole (3:2, nothing cropped) above the title, on the deep navy ground */
@media (max-width: 799px) {
  .ct-photohead--tall { display: block; min-height: 0; }
  .ct-photohead--tall > img { position: static; z-index: auto; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 50% !important; }
  .ct-photohead--tall .ct-photohead__scrim { display: none; }
  .ct-photohead--tall .ct-caption { bottom: auto; top: calc(66.667vw - 30px); }
  .ct-photohead--tall .ct-photohead__inner { padding-block: 22px 26px; }
}

/* ---- clinic page: opening hours ---- */
.ct-hours { display: grid; grid-template-columns: max-content 1fr; gap: 4px 20px; margin: 0; font-size: 15px; }
.ct-hours dt { color: var(--grey); }
.ct-hours dd { margin: 0; color: var(--slate); }
.ct-photohead__inner > .clinic-row { max-width: none; }

/* ---- clinic contact block and the small Website link in clinic lists ---- */
.ct-contact { margin: 6px 0 22px; }
.ct-contact__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.ct-site-link { margin-left: 8px; white-space: nowrap; }

/* ---- clinic page: two columns (content left, sticky contact card right); one column on phones ---- */
.ct-photohead--clinic .cl-id { display: flex; gap: 18px; align-items: center; }
.ct-photohead--clinic .cl-id__text { min-width: 0; }
.ct-photohead--clinic h1 { margin: 0 0 4px; font-size: clamp(26px, 3.4vw, 36px); }
.cl-avatar { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: #fff; border: 3px solid #fff; display: block; }
.cl-avatar--logo { border-radius: 14px; object-fit: contain; padding: 6px; }
.cl-avatar--mono { display: grid; place-items: center; background: var(--navy); color: #fff; font: 600 30px var(--serif); border-color: rgba(255,255,255,.85); }
.cl-rating, .cl-where, .cl-badges { margin: 2px 0; color: #fff; font-size: 15px; }
.cl-rating b { font-weight: 700; }
.cl-stars { --fill: 0%; display: inline-block; font-size: 17px; letter-spacing: 1px; line-height: 1; vertical-align: -1px;
  background: linear-gradient(90deg, #F2B84B var(--fill), rgba(255,255,255,.35) var(--fill)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cl-stars--sm { font-size: 13px; }
.cl-rev .cl-stars, .cl-sim .cl-stars { background: linear-gradient(90deg, #E0A02F var(--fill), #D3DAE3 var(--fill)); -webkit-background-clip: text; background-clip: text; }
.cl-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cl-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.5); font-size: 13px; font-weight: 600; }
.cl-badge--ok { background: #fff; color: var(--navy); border-color: #fff; }

.cl-layout { display: grid; gap: 22px 44px; grid-template-columns: minmax(0, 1fr) 372px;
  grid-template-areas: "glance card" "main card"; align-items: start; padding-top: 28px; }
.cl-glance { grid-area: glance; }
.cl-card { grid-area: card; position: sticky; top: 92px; align-self: start; border: 1px solid var(--line); border-top: 4px solid var(--navy); background: #fff; padding: 20px 22px 22px; border-radius: 4px; }
.cl-main { grid-area: main; min-width: 0; display: grid; gap: 34px; }
@media (max-width: 899px) {
  .cl-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "glance" "card" "main"; }
  .cl-card { position: static; }
  .ct-photohead--clinic .cl-id { align-items: flex-start; }
  .cl-avatar { width: 72px; height: 72px; }
}
.cl-glance dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 22px; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cl-glance dt { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); font-weight: 600; }
.cl-glance dd { margin: 3px 0 0; font: 600 18px/1.25 var(--serif); color: var(--navy); }
.cl-card h2 { font-size: 22px; margin: 0 0 12px; }
.cl-form { display: grid; gap: 12px; }
.cl-form .field label { font-size: 13.5px; font-weight: 600; }
.cl-form input[type=text], .cl-form input[type=email], .cl-form select, .cl-form textarea { width: 100%; }
.cl-form .consent { font-size: 12.5px; line-height: 1.45; color: var(--slate); display: flex; gap: 8px; align-items: flex-start; }
.cl-form .btn { width: 100%; }
.cl-card__or { margin: 18px 0 8px; font-size: 13px; color: var(--grey); text-transform: uppercase; letter-spacing: .1em; }
.cl-card .ct-contact__buttons .btn { flex: 1 1 auto; text-align: center; }
.cl-sec h2 { font-size: 26px; margin: 0 0 12px; }
.cl-sec h3 { font-size: 18px; margin: 0 0 4px; }
.cl-prices .cl-us { white-space: nowrap; }
.cl-quote { margin: 0 0 6px; padding: 0 0 0 16px; border-left: 3px solid var(--sky); color: var(--slate); font-size: 16.5px; }
.cl-lede { max-width: 72ch; }
.cl-facts { display: grid; gap: 8px; margin: 10px 0; }
.cl-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.cl-facts dt { color: var(--grey); font-size: 14px; }
.cl-facts dd { margin: 0; }
.cl-figure { margin: 12px 0 0; }
.cl-figure img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 4px; display: block; }
.cl-doc { display: flex; gap: 16px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.cl-doc .cl-avatar { width: 96px; height: 96px; border-color: var(--line); }
.cl-doc .cl-avatar--doc { font-size: 34px; }
.cl-list { margin: 6px 0 0; padding-left: 18px; }
.cl-loc { display: grid; gap: 18px 26px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
@media (max-width: 899px) { .cl-loc { grid-template-columns: minmax(0, 1fr); } }
.cl-addr { font: 600 17px/1.35 var(--serif); color: var(--navy); margin: 0 0 6px; }
.cl-map { width: 100%; height: 280px; border: 1px solid var(--line); border-radius: 4px; background: var(--mist); }
.cl-rev { display: grid; gap: 14px 30px; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
@media (max-width: 599px) { .cl-rev { grid-template-columns: minmax(0, 1fr); } }
.cl-rev__score { display: grid; gap: 2px; justify-items: start; }
.cl-rev__score b { font: 300 52px/1 var(--serif); color: var(--navy); }
.cl-bars { display: grid; gap: 4px; max-width: 420px; }
.cl-bars div { display: grid; grid-template-columns: 14px 1fr 34px; gap: 8px; align-items: center; font-size: 13px; }
.cl-bars i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--blue) var(--w), var(--mist) var(--w)); }
.cl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.cl-tag { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: 14px; }
.cl-tag em { font-style: normal; color: var(--grey); margin-left: 4px; }
.cl-sim { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cl-sim__card { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; color: var(--slate); }
.cl-sim__card:hover { border-color: var(--blue); }
.cl-sim__card b { font: 600 16px/1.25 var(--serif); color: var(--navy); }
.cl-faq { padding: 10px 0; border-top: 1px solid var(--line); }
.cl-faq p { margin: 0; max-width: 72ch; }
.mobile-cta-bar .btn { width: 100%; }
.cl-rev__h { display: flex; align-items: center; gap: 10px; }
.cl-gmaps { display: inline-block; vertical-align: -3px; margin-left: 2px; }
.cl-rating a { color: #fff; text-decoration: none; }
.cl-rating a:hover { text-decoration: underline; }
.cl-hours { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 2px; font-size: 15px; }

/* the Google map card: a fixed-ratio box, so the lazy iframe never moves the page */
.cl-mapbox { position: relative; width: 100%; aspect-ratio: 16 / 10; max-height: 440px; background: var(--mist); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin: 6px 0 12px; }
.cl-map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- hair transplant section: a price is a sentence that names its unit, so it wraps (unlike .price) ---- */
.hp-line { padding: 2px 0; }
.hp-line + .hp-line { margin-top: 12px; }
.hp-main { display: block; font: 600 17px/1.35 var(--serif); color: var(--navy); }
.hp-meta { display: block; font-size: 13.5px; color: var(--grey); margin-top: 2px; }
.hp-sub { margin: 6px 0 0 2px; padding-left: 10px; border-left: 2px solid var(--line); font-size: 14.5px; color: var(--slate); }
.hp-sub b { font-weight: 600; color: var(--navy); }
.hp-guide td:first-child { white-space: normal; }

/* ---- header search (desktop) and the phone-menu search ---- */
.hdr-search { display: none; align-items: center; border: 1.5px solid var(--line); border-radius: 6px; background: #fff; margin-left: auto; margin-right: 10px; }
.hdr-search input { width: 190px; border: 0; background: transparent; padding: 8px 4px 8px 10px; font: 500 14px var(--sans); color: var(--slate); min-width: 0; }
.hdr-search input:focus { outline: none; }
.hdr-search:focus-within { border-color: var(--navy); }
.hdr-search button { border: 0; background: transparent; color: var(--navy); padding: 6px 9px; cursor: pointer; display: inline-flex; }
@media (min-width: 900px) { .hdr-search { display: flex; margin-right: 6px; } .hdr-search input { display: none; } }
@media (min-width: 1100px) { .hdr-search input { display: block; width: 140px; } }
@media (min-width: 1200px) { .hdr-search input { width: 170px; } }
.mnav-search { display: flex; gap: 6px; padding: 4px 2px 10px; }
.mnav-search input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 6px; padding: 9px 10px; font: 500 15px var(--sans); }
.mnav-search button { border: 0; background: var(--navy); color: #fff; border-radius: 6px; padding: 0 14px; font: 600 14px var(--sans); cursor: pointer; }
.sr-form { max-width: 560px; margin-bottom: 22px; }
.sr-table td:first-child { white-space: normal; }
.site-nav a, .site-nav summary { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1299px) { .site-nav { gap: 16px; } .site-nav a, .site-nav summary { font-size: 14px; } }
@media (min-width: 1300px) { .hdr-search input { width: 170px; } }
