/* Header: slimmer, menu on the right, "How it works" drop-down (assets/js/nav.js).
   Loaded by main.js on every page, after style.css / trust.css. */
:root { --hd: 66px; }
@media (max-width: 760px) { :root { --hd: 58px; } }

/* slimmer header with a slightly smaller logo */
.header .container { height: var(--hd); }
.header .logo { font-size: 23px; gap: 10px; }
.header .logo-mark, .header .logo-mark img { width: 38px; height: 38px; }
.header .logo small { font-size: 10px; margin-top: 4px; }
@media (max-width: 760px) { .header .logo { font-size: 20px; } .header .logo-mark, .header .logo-mark img { width: 34px; height: 34px; } }
.toolbar { top: var(--hd) !important; }
.mapbox.show { top: var(--hd) !important; }
section[id], [id="enquire"] { scroll-margin-top: calc(var(--hd) + 12px); }

/* menu sits on the right */
.header .nav, html:not([lang="en"]) .header .nav, body.hd-tight .header .nav { flex: 1; justify-content: flex-end; margin-left: 0; }
.header .tools { margin-left: auto; }
.header .nav a { font-size: 14px; padding: 9px 13px; }

/* "How it works" button – looks like the other menu items */
.mm-btn {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 9px 11px 9px 13px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 500 14px var(--title); color: var(--navy); text-transform: uppercase; letter-spacing: .02em; transition: background .2s;
}
html:not([lang="en"]) .mm-btn, body.hd-tight .mm-btn { padding: 9px 8px 9px 10px; letter-spacing: 0; }
.mm-btn:hover, .header.mm-open .mm-btn { background: var(--smoke); }
.mm-btn .mm-chev { width: 14px; height: 14px; transition: transform .2s; opacity: .7; }
.header.mm-open .mm-btn .mm-chev { transform: rotate(180deg); }

/* drop-down panel */
.mm-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line, #e6ecef);
  box-shadow: 0 24px 48px -18px rgba(5, 56, 99, .28);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.header.mm-open .mm-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.mm-panel .container { height: auto !important; display: block !important; padding-top: 22px; padding-bottom: 18px; }
.mm-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 10px 26px; }
.mm-col h6 { margin: 0 0 8px 10px; font: 600 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--green-d, var(--teal-700)); }
.mm-item { display: flex; align-items: flex-start; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--navy); text-decoration: none; transition: background .15s; }
.mm-item:hover, .mm-item:focus-visible { background: var(--smoke, #f2f6f7); outline: none; }
.mm-item.on { background: rgba(34, 179, 168, .08); }
.mm-item.on b { color: var(--green-d, var(--teal-700)); }
.mm-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mm-txt b { font: 600 14.5px/1.25 var(--title); }
.mm-txt small { font-size: 12.5px; line-height: 1.3; color: var(--muted, #5b6b7a); }
.mm-ic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--smoke, #f2f6f7); color: var(--green-d, #22b3a8); }
.mm-ic .ic { width: 17px; height: 17px; }
/* the 5 steps get numbers on a connecting line */
.mm-steps { position: relative; }
.mm-num { flex: none; position: relative; z-index: 1; width: 28px; height: 28px; margin: 2px 2px 0; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--title); color: #fff; background: var(--green, var(--action)); box-shadow: 0 0 0 4px #fff; }
.mm-steps .mm-item:not(:last-child) .mm-num::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 30px; margin-left: -1px; background: rgba(34, 179, 168, .25); z-index: -1; }
.mm-item:hover .mm-num, .mm-item.on .mm-num { box-shadow: 0 0 0 4px var(--smoke, #f2f6f7); }
.mm-item.on .mm-num { box-shadow: 0 0 0 4px rgba(34, 179, 168, .08); }
.mm-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--smoke, #f2f6f7); }
.mm-foot span { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--navy); }
.mm-foot .ic { width: 16px; height: 16px; color: var(--green-d, #22b3a8); flex: none; }
.mm-foot .btn { flex: none; white-space: nowrap; }
.mm-foot .btn .ic { color: inherit; }
@media (max-width: 1100px) { .mm-grid { grid-template-columns: 1fr 1fr; } .mm-steps { grid-row: span 2; } }

/* phone drawer: expandable "How it works" */
.mm-sub { border-bottom: 1px solid var(--line); }
.mm-sub summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font: 600 22px var(--title); color: var(--navy); padding: 12px 0; }
.mm-sub summary::-webkit-details-marker { display: none; }
.mm-sub summary .mm-chev { width: 20px; height: 20px; transition: transform .2s; }
.mm-sub[open] summary .mm-chev { transform: rotate(180deg); }
.mm-subwrap { padding: 2px 0 12px; }
.mm-subwrap h6 { margin: 12px 0 4px; font: 600 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--green-d, var(--teal-700)); }
.mnav .panel .mm-sub a.mm-item { font: inherit; padding: 8px 6px; border-bottom: 0; gap: 10px; }
.mm-subwrap .mm-txt small { display: none; }
.mm-subwrap .mm-txt b { font-size: 15.5px; }
.mm-subwrap .mm-num { width: 24px; height: 24px; font-size: 12px; box-shadow: none; }
.mm-subwrap .mm-num::after { display: none; }
.mm-subwrap .mm-ic { width: 26px; height: 26px; }
.mm-subwrap .mm-ic .ic { width: 15px; height: 15px; }
.mnav .panel { overflow-y: auto; }

/* one brand green everywhere (#22b3a8): keep a visible hover on green buttons */
.btn.green:hover, .btn.green:focus-visible { filter: brightness(1.07) saturate(1.05); }

/* Hero: "Book with trusted partners" card (replaces the price and flight cards) */
.fc-partners { padding: 16px 18px 14px; border-radius: 20px; min-width: 270px; }
.hero-sm .fc-partners { width: 280px; }
.fc-partners .k { margin-bottom: 8px; }
.fc-partners ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fc-partners a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 9px 10px; margin: 0 -10px; border-radius: 12px; color: var(--navy); text-decoration: none; transition: background .15s; }
.fc-partners a:hover { background: var(--smoke); }
.fc-partners li + li a { border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; }
.fc-partners li + li a:hover { border-top-color: transparent; border-radius: 12px; }
.pl-logo { display: flex; align-items: center; height: 24px; font: 700 17px/1 var(--title); letter-spacing: -.01em; color: var(--navy); }
.pl-logo img { height: 22px; width: auto; max-width: 150px; display: block; }
.fc-partners small { grid-column: 1; font-size: 12px; color: var(--muted); }
.fc-partners .pl-go { grid-row: 1 / span 2; grid-column: 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--smoke); color: var(--green); }
.fc-partners .pl-go .ic { width: 14px; height: 14px; }
.fc-partners .pl-note { margin: 8px 0 0; font-size: 11px; line-height: 1.35; color: var(--muted); }

/* hero: "Free quotes" at the top right, level with the "UK patients" line (phones keep it under the text) */
.hero-sm .hero-visual { align-self: start; align-items: flex-end; }
.hero-cta-top { align-self: flex-end; white-space: nowrap; }
@media (min-width: 641px) { .hero-sm .ctas > .btn.green { display: none; } }
.pl-logo img { height: 22px; }

/* partner card, v2: frosted glass like the hero, equal-size logos on white tiles */
.hero .fc-partners { background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .3); box-shadow: 0 24px 50px -20px rgba(3, 30, 60, .55); color: #fff; padding: 16px; border-radius: 22px; width: 300px; }
.hero .fc-partners .k { color: rgba(255, 255, 255, .85); font-size: 11px; letter-spacing: .14em; margin: 2px 4px 12px; }
.hero .fc-partners ul { gap: 8px; }
.hero .fc-partners a, .hero .fc-partners li + li a, .hero .fc-partners li + li a:hover { display: flex; align-items: center; gap: 12px; height: 58px; margin: 0; padding: 0 12px 0 16px; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px -10px rgba(3, 30, 60, .5); transition: transform .15s, box-shadow .15s; }
.hero .fc-partners a:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(3, 30, 60, .6); background: #fff; }
.hero .fc-partners .pl-logo { flex: none; width: 112px; height: 24px; font-size: 16px; color: var(--navy); }
.hero .fc-partners .pl-logo img { width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: left center; }
.hero .fc-partners small { margin-left: auto; padding: 4px 9px; border-radius: 999px; background: rgba(34, 179, 168, .1); color: var(--green); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.hero .fc-partners .pl-go { flex: none; width: 26px; height: 26px; background: var(--green); color: #fff; }
.hero .fc-partners .pl-note { color: rgba(255, 255, 255, .72); margin: 10px 4px 0; }
@media (max-width: 640px) { .hero .fc-partners { width: auto; } }

/* hero quote button: same size as the "UK patients · Dental care in Hungary" pill (width/height set by nav.js) */
.hero .hero-cta-top { box-sizing: border-box; min-height: 0; padding: 0 14px; font-size: 12px; letter-spacing: .06em; line-height: 1; justify-content: center; gap: 8px; box-shadow: 0 8px 18px -10px rgba(3, 30, 60, .55); }
.hero .hero-cta-top .ic { width: 14px; height: 14px; }
.hero .ctas { justify-content: flex-start; }
/* phones: the right-hand column is hidden, so show just the quote button under the text */
@media (max-width: 640px) {
  .hero-sm .hero-visual { display: flex !important; height: auto; margin-top: 18px; align-items: stretch; }
  .hero-sm .hero-visual .fc-partners { display: none; }
  .hero .hero-cta-top { width: 100%; height: 48px; font-size: 14px; }
}

/* green buttons: flat brand green #22b3a8 (no glossy overlay) */
.btn.green { background: var(--action); background-image: none; }
.btn.green::after { display: none; }

/* hero: "Your whole trip, in one place" card */
.hero-sm > .container { align-items: start; }
.hero .trip-card { width: 320px; padding: 18px 16px 14px; border-radius: 22px; background: #fff; border: 0; box-shadow: 0 30px 60px -24px rgba(3, 30, 60, .6); color: var(--navy); -webkit-backdrop-filter: none; backdrop-filter: none; position: static; animation: none; }
.tc-head { margin: 0 4px 10px; }
.tc-eyebrow { display: block; font: 600 10.5px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 6px; }
.tc-head b { font: 700 16.5px/1.2 var(--title); color: var(--navy); letter-spacing: -.01em; }
.tc-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.tc-steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; border-left: 2px dotted rgba(34, 179, 168, .45); }
.tc-steps a { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 12px; text-decoration: none; color: inherit; transition: background .15s; }
.tc-steps a:hover { background: #f2faf9; }
.tc-ic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--action); color: #fff; box-shadow: 0 0 0 4px #fff; }
.tc-steps a:hover .tc-ic { box-shadow: 0 0 0 4px #f2faf9; }
.tc-ic .ic { width: 16px; height: 16px; }
.tc-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.tc-t b { font: 600 14px/1.2 var(--title); }
.tc-t small { font-size: 11.5px; color: var(--muted); }
.tc-logo, .tc-brand { flex: none; width: 76px; height: 15px; }
.tc-logo { object-fit: contain; object-position: right center; }
.tc-brand { display: flex; align-items: center; justify-content: flex-end; gap: 4px; font: 700 12px/1 var(--title); color: var(--navy); letter-spacing: -.02em; white-space: nowrap; }
.tc-brand img { width: 15px; height: 15px; display: block; }
.tc-brand em { font-style: normal; color: var(--highlight); }
.tc-note { margin: 8px 6px 0; font-size: 10.5px; line-height: 1.35; color: var(--muted); }
@media (max-width: 640px) { .hero-sm .hero-visual .trip-card { display: none; } }

/* trip card: logos in one tidy column (same width, left edge lined up), one-line descriptions */
.tc-logo, .tc-brand { width: 84px; height: 16px; }
.tc-logo { object-position: left center; }
.tc-brand { justify-content: flex-start; }
.tc-t b, .tc-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-steps a { min-height: 50px; }

/* trip card: "Reviews on Google" under Treatment */
.tc-t small.tc-g { display: flex; align-items: center; gap: 5px; overflow: visible; }
.tc-g img { height: 12px; width: auto; display: block; transform: translateY(1px); }

/* compact hero (desktop/tablet): shorter section, slightly smaller headline, tighter trip card */
@media (min-width: 641px) {
  .hero.hero-sm { padding: 16px 0 44px; }
  .hero-sm h1 { font-size: 36px; }
}
.hero .trip-card { width: 290px; padding: 14px 12px 10px; border-radius: 18px; }
.tc-head { margin: 0 4px 6px; }
.tc-eyebrow { font-size: 9.5px; margin-bottom: 4px; }
.tc-head b { font-size: 15px; }
.tc-steps a { min-height: 0; padding: 5px 6px; gap: 10px; }
.tc-ic { width: 28px; height: 28px; }
.tc-ic .ic { width: 14px; height: 14px; }
.tc-steps::before { left: 19px; top: 18px; bottom: 18px; }
.tc-t b { font-size: 13px; }
.tc-t small { font-size: 11px; }
.tc-logo, .tc-brand { width: 76px; height: 14px; }
.tc-brand { font-size: 11px; }
.tc-brand img { width: 13px; height: 13px; }
.tc-g img { height: 11px; }
.tc-note { font-size: 10px; margin: 6px 6px 0; }

/* trip card: Google logo (rounder shape) a bit taller so it reads as wide as the other logos */
.tc-logo.tc-google { height: 17px; }

/* hero trust row on the top line (placed by nav.js on wide screens) */
.hero-sm > .container { position: relative; }
.hero-proof.proof-top { position: absolute; margin: 0; display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: nowrap; }
.hero-proof.proof-top span { white-space: nowrap; }
.hero-proof.proof-top .vlink { display: none; }

/* "How it works" steps: the icon grows 20% on hover (link still clickable) */
.fd-how li a { position: relative; }
.fd-how li a .fd-step-ic { position: relative; z-index: 1; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .25s; }
.fd-how li a:hover .fd-step-ic, .fd-how li a:focus-visible .fd-step-ic { transform: scale(1.2); box-shadow: 0 14px 28px -10px rgba(3, 30, 60, .55); z-index: 2; }
@media (prefers-reduced-motion: reduce) { .fd-how li a .fd-step-ic { transition: none; } }

/* quote form: treatment tiles – description, typical time and a tooltip on the (i) icon (assets/js/quote.js) */
.qz-tile { position: relative; overflow: visible; justify-content: flex-start; }
.qz-tile .qz-desc { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.3; font-weight: 400; color: var(--muted, #5b6b7a); }
.qz-tile .qz-dur { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 4px; max-width: 100%; padding: 4px 9px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-size: 11.5px; line-height: 1.25; font-weight: 600; white-space: nowrap; }
.qz-tile .qz-dur .ic { flex: none; width: 13px; height: 13px; }
.qz-tile:has(input:checked) .qz-dur { background: #fff; }
.qz-tile .qz-info { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #9aaab5; cursor: help; transition: color .15s, background .15s; }
.qz-tile .qz-info .ic { width: 18px; height: 18px; }
.qz-tile .qz-info:hover { color: var(--green, var(--teal-700)); background: rgba(34, 179, 168, .1); }
.qz-tile .qz-tip {
  position: absolute; right: 0; bottom: calc(100% - 2px); width: 270px; padding: 12px 14px;
  border-radius: 12px; background: var(--action); /* brand green */ color: #fff; font-size: 12.5px; line-height: 1.45; font-weight: 500; text-align: left; text-transform: none; letter-spacing: 0;
  box-shadow: 0 16px 32px -14px rgba(3, 30, 60, .6); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility 0s .15s; z-index: 30;
}
.qz-tile .qz-tip::after { content: ""; position: absolute; right: 14px; top: 100%; border: 7px solid transparent; border-top-color: #22b3a8; }
.qz-tile .qz-tt { display: block; margin-top: 9px; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, .35); }
.qz-tile .qz-tt b { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
/* only while the pointer is on the (i) icon, or on keyboard focus – never stuck after a click */
.qz-tile .qz-info:hover + .qz-tip, .qz-tile:has(input:focus-visible) .qz-tip { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
.qz-tile.qz-tl .qz-tip { right: auto; left: 0; }
.qz-tile.qz-tl .qz-tip::after { right: auto; left: var(--ax, 120px); }
.qz-tnote { margin: 12px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--muted, #5b6b7a); }
@media (hover: none) { .qz-tile .qz-info, .qz-tile .qz-tip { display: none; } }

/* "How it works": 6 steps (OPG X-ray added as step 2) */
@media (min-width: 861px) { .hero .fd-how.n5.n6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .hero .fd-how.n5.n6::before { left: 8.33%; right: 8.33%; } }
@media (min-width: 1101px) { .steps.n5.n6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; } .steps.n5.n6::before { left: 8.33%; right: 8.33%; } .steps.n5.n6 .step h4 { font-size: 17px; } }

/* quote form: 5 steps, OPG X-ray upload (assets/js/quote.js step 2) */
.qz-prog { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.qz-xconsent { margin: 0 0 12px; }
.qz-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 18px; border: 2px dashed rgba(34, 179, 168, .45); border-radius: 18px; background: rgba(34, 179, 168, .05); text-align: center; cursor: pointer; transition: background .15s, border-color .15s, opacity .15s; }
.qz-drop:hover, .qz-drop.drag { background: rgba(34, 179, 168, .1); border-color: #22b3a8; }
.qz-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.qz-drop.off { opacity: .5; cursor: not-allowed; }
.qz-drop.off:hover { background: rgba(34, 179, 168, .05); border-color: rgba(34, 179, 168, .45); }
.qz-drop.busy { pointer-events: none; opacity: .7; }
.qz-drop.ok { border-style: solid; border-color: #22b3a8; }
.qz-drop-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #22b3a8; box-shadow: 0 6px 16px -8px rgba(5, 56, 99, .3); }
.qz-drop-ic .ic { width: 26px; height: 26px; }
.qz-drop b { font: 600 15.5px var(--title); color: var(--navy); }
.qz-drop small { font-size: 12.5px; color: var(--muted, #5b6b7a); }
.qz-xstat { min-height: 22px; margin: 10px 2px 0; font-size: 14px; color: var(--navy); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qz-xstat .ic { width: 16px; height: 16px; color: #22b3a8; }
.qz-xstat span { color: var(--muted, #5b6b7a); }
.qz-xre { border: 0; background: none; padding: 0; color: var(--teal-700); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.qz-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(34, 179, 168, .3); border-top-color: #22b3a8; animation: qzspin .8s linear infinite; }
@keyframes qzspin { to { transform: rotate(360deg); } }
.qz-xhelp { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--smoke, #f2f6f7); font-size: 13.5px; line-height: 1.45; color: var(--navy); }
.qz-xhelp b { display: flex; align-items: center; gap: 6px; }
.qz-xhelp .ic { width: 15px; height: 15px; color: #22b3a8; }

/* Hungary or Turkey? (index.html #compare) */
.vs { position: relative; max-width: 980px; margin: 8px auto 0; background: #fff; border-radius: 24px; box-shadow: 0 24px 60px -34px rgba(5, 56, 99, .45); overflow: hidden; }
.vs-head, .vs-row { display: grid; grid-template-columns: 200px 1fr 1fr; }
.vs-head { position: relative; }
.vs-head::before { content: ""; }
.vs-col { display: flex; align-items: center; gap: 10px; padding: 20px 22px; }
.vs-col b { font: 700 19px var(--title); }
.vs-col small { margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.vs-col.hu { background: linear-gradient(120deg, var(--blue-800), var(--blue-600)); color: #fff; }
.vs-col.hu small { background: rgba(255, 255, 255, .16); }
.vs-col.tr { background: var(--sand-100); color: var(--navy); }
.vs-col.tr small { background: #fff; color: var(--muted, #5b6b7a); }
.vs-flag { width: 30px; height: 20px; border-radius: 4px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.vs-flag svg { display: block; width: 100%; height: 100%; }
.vs-badge { position: absolute; left: calc(200px + (100% - 200px) / 2); top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--action); color: #fff; font: 700 13px var(--title); box-shadow: 0 0 0 4px #fff; }
.vs-row { border-top: 1px solid var(--line, #e3e9ed); }
.vs-lbl { display: flex; align-items: center; gap: 10px; padding: 16px 20px; font: 600 14.5px var(--title); color: var(--navy); }
.vs-lbl .ic { width: 18px; height: 18px; color: #22b3a8; flex: none; }
.vs-cell { display: flex; gap: 9px; align-items: flex-start; padding: 16px 22px; font-size: 14.5px; line-height: 1.45; color: var(--text, #33475b); }
.vs-cell.hu { background: var(--blue-50); }
.vs-cell.hu .ic { width: 17px; height: 17px; margin-top: 2px; color: var(--blue-400); flex: none; }
.vs-cell.tr { color: var(--muted, #5b6b7a); }
.vs-foot { max-width: 980px; margin: 18px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px 22px; border-radius: 18px; background: #fff; border: 1px dashed rgba(34, 179, 168, .5); }
.vs-foot > div:first-child { display: flex; flex-direction: column; gap: 4px; max-width: 600px; }
.vs-foot b { font: 600 16px var(--title); color: var(--navy); }
.vs-foot span { font-size: 14px; color: var(--muted, #5b6b7a); }
.vs-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.vs-note { max-width: 980px; margin: 10px auto 0; font-size: 12.5px; color: var(--muted, #5b6b7a); }
@media (max-width: 760px) {
  .vs-head { grid-template-columns: 1fr 1fr; }
  .vs-badge { left: 50%; }
  .vs-col { flex-wrap: wrap; padding: 14px; gap: 6px 8px; }
  .vs-col b { font-size: 16px; }
  .vs-col small { margin-left: 0; }
  .vs-row { grid-template-columns: 1fr 1fr; }
  .vs-lbl { grid-column: 1 / -1; padding: 12px 14px 4px; }
  .vs-cell { padding: 6px 14px 14px; font-size: 13.5px; }
  .vs-cell.hu .ic { display: none; }
}

/* header: "Free quotes" button after the menu (assets/js/main.js); hidden under 980px with the other header buttons, the mobile menu has its own */
.header .hdr-cta { height: 34px; min-height: 0; padding: 0 6px; font-size: 12px; letter-spacing: .01em; white-space: nowrap; color: #fff; box-shadow: 0 6px 16px rgba(34, 179, 168, .3), inset 0 -3px 0 rgba(0, 0, 0, .12); } /* width set in main.js to match the EN + GBP buttons above */

/* hero: "We work together with" partner logos (index.html) */
.hero-partners { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 22px; }
.hero-partners .hp-t { font: 600 12px/1 var(--title); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.hero-partners ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hero-partners li { height: 32px; padding: 0 12px; display: flex; align-items: center; background: #fff; border-radius: 999px; box-shadow: 0 6px 18px rgba(3, 30, 60, .18); }
.hero-partners img { height: 15px; width: auto; display: block; }
@media (max-width: 560px) { .hero-partners ul { flex-wrap: wrap; } }
/* Header CTA – same look as the hero "Compare treatment options" button */
.header .hdr-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto !important; height: 42px; padding: 0 20px 0 22px; border: 0; border-radius: 999px;
  background: var(--action); color: #fff; font: 600 15px/1 var(--title); letter-spacing: 0; text-transform: none; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 22px -12px rgba(34,150,140,.9); transition: transform .15s, filter .15s; }
.header .hdr-cta:hover, .header .hdr-cta:focus-visible { transform: translateY(-1px); filter: brightness(1.05); }
.header .hdr-cta .ic { width: 17px; height: 17px; }
@media (max-width: 1280px) { .header .hdr-cta { height: 40px; padding: 0 16px 0 18px; font-size: 14px; } }
@media (max-width: 640px) { .header .hdr-cta { height: 36px; padding: 0 14px; font-size: 13px; gap: 6px; } .header .hdr-cta .ic { display: none; } }
@media (max-width: 380px) { .header .hdr-cta { padding: 0 11px; font-size: 12.5px; } }

/* "Treatments" drop-down (nav.js): its own classes (tm-*) so it never touches the "How it works" menu (mm-*);
   same look – button like a menu item, full-width panel under the header – with the 10 guides in a 5 × 2 grid */
.tm-btn { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; padding: 9px 11px 9px 13px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font: 500 14px var(--title); color: var(--navy); text-transform: uppercase; letter-spacing: .02em; transition: background .2s; }
html:not([lang="en"]) .tm-btn, body.hd-tight .tm-btn { padding: 9px 8px 9px 10px; letter-spacing: 0; }
.tm-btn:hover, .header.tm-open .tm-btn { background: var(--smoke); }
.tm-btn.active { color: var(--teal-700); }
.tm-btn .tm-chev { width: 14px; height: 14px; transition: transform .2s; opacity: .7; }
.header.tm-open .tm-btn .tm-chev { transform: rotate(180deg); }
.tm-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line, #e6ecef); box-shadow: 0 24px 48px -18px rgba(5, 56, 99, .28); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.header.tm-open .tm-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.tm-panel .container { height: auto !important; display: block !important; padding-top: 22px; padding-bottom: 18px; }
.tm-h { margin: 0 0 8px 10px; font: 600 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.tm-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px 12px; }
.tm-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--navy); text-decoration: none; transition: background .15s; }
.tm-item:hover, .tm-item:focus-visible { background: var(--smoke, #f2f6f7); outline: none; }
.tm-item.on { background: rgba(34, 179, 168, .08); } .tm-item.on b { color: var(--teal-700); }
.tm-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tm-txt b { font: 600 14.5px/1.25 var(--title); }
.tm-txt small { font-size: 12.5px; line-height: 1.3; color: var(--muted, #5b6b7a); }
.tm-pic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--smoke, #f2f6f7); }
.tm-pic img { width: 36px; height: 36px; object-fit: contain; }
.tm-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--smoke, #f2f6f7); }
.tm-foot > span:first-child { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--navy); }
.tm-foot > span:first-child .ic { width: 16px; height: 16px; color: var(--teal-700); }
.tm-foot-a { display: flex; align-items: center; gap: 20px; }
.tm-foot-a .link-arrow { font-size: 14px; }
@media (max-width: 1240px) { .tm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* phone drawer */
.tm-sub { border-bottom: 1px solid var(--line); }
.tm-sub summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font: 600 22px var(--title); color: var(--navy); padding: 12px 0; }
.tm-sub summary::-webkit-details-marker { display: none; }
.tm-sub summary .tm-chev { width: 20px; height: 20px; transition: transform .2s; }
.tm-sub[open] summary .tm-chev { transform: rotate(180deg); }
.tm-subwrap { padding: 2px 0 12px; }
.mnav .panel .tm-sub a.tm-item { font: inherit; padding: 8px 6px; border-bottom: 0; gap: 10px; }
.tm-subwrap .tm-txt small { display: none; }
.mnav .panel .tm-sub .tm-pic { width: 36px; height: 36px; border-radius: 10px; }
.mnav .panel .tm-sub .tm-pic img { width: 28px; height: 28px; }
.mnav .panel .tm-sub a.tm-all b { color: var(--teal-700); }

/* Treatments menu in the How it works / Clinics layout (cm2-grid columns, photo bands, photo thumbnails, help strip) */
.tm-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; margin-bottom: 14px; }
.tm-panel .mm-col h6 { margin: 0 0 8px 10px; font: 600 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.tm-panel .cm2-th { width: 40px; height: 40px; }
.tm-panel .mm-foot .cm2-all { margin: 0; }
@media (max-width: 980px) { .tm-panel { display: none !important; } }
.tm-subwrap h6 { margin: 12px 0 4px; font: 600 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.tm-subwrap .tm-pic { background-color: #e9eef1; background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden; }

/* Treatments: the word is a link, the chevron a separate toggle */
.tm-btn { padding: 0; gap: 0; }
.tm-go { display: inline-flex; align-items: center; padding: 9px 4px 9px 13px; color: inherit; text-decoration: none; border-radius: 999px 0 0 999px; }
.tm-tog { display: inline-grid; place-items: center; padding: 9px 11px 9px 4px; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 0 999px 999px 0; }
.tm-go:focus-visible, .tm-tog:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
html:not([lang="en"]) .tm-go, body.hd-tight .tm-go { padding-left: 10px; }
.mnav .panel .tm-sub a.tm-all-top { padding-top: 4px; }
.header .nav .tm-btn, body.hd-tight .header .nav .tm-btn, html:not([lang="en"]) .header .nav .tm-btn { padding: 0 !important; gap: 0; }
.header .nav a.tm-go { display: inline-flex; padding: 9px 3px 9px 13px; }
body.hd-tight .header .nav a.tm-go, html:not([lang="en"]) .header .nav a.tm-go { padding: 9px 2px 9px 10px; }
.header .nav .tm-tog { padding: 9px 11px 9px 3px; }
body.hd-tight .header .nav .tm-tog { padding: 9px 8px 9px 2px; }

/* ==========================================================================
   Main menu v3 (menu.js): Treatments · Prices · Destinations · Reviews & guides · Plan your trip · Help
   Same parts as the earlier drop-downs: word = link, chevron = toggle; panels with columns,
   photo bands, small photos / icon tiles and the help strip.
   ========================================================================== */
.sm-btn { display: inline-flex; align-items: center; white-space: nowrap; border-radius: 999px; font: 500 14px var(--title); color: var(--navy); text-transform: uppercase; letter-spacing: .02em; transition: background .2s, color .2s; }
.sm-btn:hover, .sm-btn.open { background: var(--smoke); }
.sm-btn.active, .sm-btn.open { color: var(--teal-700); }
.header .nav a.sm-go { display: inline-flex; align-items: center; padding: 9px 3px 9px 13px; font: inherit; color: inherit; letter-spacing: inherit; text-decoration: none; border-radius: 999px 0 0 999px; background: none; }
.sm-tog { display: inline-grid; place-items: center; padding: 9px 11px 9px 3px; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 0 999px 999px 0; }
.sm-go:focus-visible, .sm-tog:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.sm-chev { width: 14px; height: 14px; transition: transform .2s; opacity: .7; }
.sm-btn.open .sm-chev { transform: rotate(180deg); }
body.hd-tight .header .nav a.sm-go, html:not([lang="en"]) .header .nav a.sm-go { padding: 9px 2px 9px 10px; letter-spacing: 0; }
body.hd-tight .sm-tog { padding: 9px 8px 9px 2px; }
.header .nav.sm-nav { gap: 2px; }

.sm-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line, #e6ecef); box-shadow: 0 24px 48px -18px rgba(5, 56, 99, .28); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.sm-panel.open { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.sm-panel .container { height: auto !important; display: block !important; padding-top: 22px; padding-bottom: 18px; }
@media (max-width: 980px) { .sm-panel { display: none !important; } }

/* columns (shared with the old Clinics / How it works menus) */
.cm2-grid { display: grid; grid-template-columns: 1fr 1.1fr 1.1fr; gap: 10px 40px; margin-bottom: 14px; }
.cm2-grid .mm-col + .mm-col { padding-left: 40px; border-left: 1px solid var(--line, #e6ecef); }
.sm-grid { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.sm-grid[style*="--n:1"] { grid-template-columns: minmax(0, 440px); }
.sm-grid[style*="--n:2"] { grid-template-columns: repeat(2, minmax(0, 440px)); }
.cm2-city { align-items: center; gap: 14px; }
.cm2-th { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #e9eef1 center/cover no-repeat; box-shadow: 0 0 0 1px rgba(5, 56, 99, .08); }
.cm2-city .mm-txt { gap: 2px; }
.cm2-city:hover .cm2-th { box-shadow: 0 0 0 2px rgba(34, 179, 168, .45); }
.cm2-flag { display: block; width: 20px; height: 14px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(5, 56, 99, .12); }
.cm2-flag svg { display: block; width: 100%; height: 100%; }
.cm2-rule { display: block; height: 1px; margin: 8px 10px; background: var(--line, #e6ecef); }
.cm2-band { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 48px; margin: 0 0 6px; padding: 0 16px; border-radius: 12px; overflow: hidden; background-size: cover; color: #fff; text-decoration: none; }
.cm2-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 40, 72, .72) 0%, rgba(5, 40, 72, .38) 55%, rgba(5, 40, 72, .08) 100%); transition: background .2s; }
.cm2-band:hover::before { background: linear-gradient(90deg, rgba(5, 40, 72, .62) 0%, rgba(5, 40, 72, .28) 55%, rgba(5, 40, 72, 0) 100%); }
.cm2-band span, .cm2-band em { position: relative; display: flex; align-items: baseline; gap: 8px; }
.cm2-band b { font: 600 18px/1 var(--title); letter-spacing: -.01em; }
.cm2-band small { font-size: 13px; color: rgba(255, 255, 255, .92); }
.cm2-band em { align-items: center; gap: 5px; font: 600 12.5px var(--title); font-style: normal; color: #fff; }
.cm2-band em .ic { width: 18px; height: 18px; transition: transform .15s; }
.cm2-band:hover em .ic { transform: translateX(3px); }
.cm2-all { display: inline-flex; align-items: center; gap: 6px; font: 600 13.5px var(--title); color: var(--green-d, var(--teal-700)); text-decoration: none; }
.cm2-all .ic { width: 15px; height: 15px; transition: transform .15s; }
.cm2-all:hover .ic { transform: translateX(3px); }
.sm-panel .mm-item { align-items: center; }
.sm-panel .mm-ic { width: 40px; height: 40px; border-radius: 11px; transition: background .15s, color .15s; }
.sm-panel .mm-ic .ic { width: 18px; height: 18px; }
.sm-panel .mm-item:hover .mm-ic, .sm-panel .mm-item.on .mm-ic { background: var(--action); color: #fff; }
.sm-flag { background: #fff !important; box-shadow: 0 0 0 1px var(--line, #e6ecef); }
.sm-soon small { font-style: italic; }
@media (max-width: 1240px) { .cm2-grid { gap: 10px 22px; } .cm2-grid .mm-col + .mm-col { padding-left: 22px; } }

/* phone drawer: the six menus as expandable sections */
.mnav .panel .sm-sub a.mm-item { align-items: center; }
.mnav .panel .sm-sub .cm2-th { width: 32px; height: 32px; border-radius: 9px; }
.mnav .panel .sm-sub a.sm-all { justify-content: space-between; }
.mnav .panel .sm-sub a.sm-all b { color: var(--teal-700); }
.mnav .panel .sm-sub a.sm-all .ic { width: 18px; height: 18px; color: var(--teal-700); }

/* "Free quotes" button: the same pill as the section labels (.eyebrow) – light teal, teal icon dot, spaced capitals */
.header .hdr-cta, .mnav .panel a.mnav-cta { gap: 10px; height: 42px; padding: 0 18px 0 6px; border: 0; border-radius: 999px; background: var(--teal-100); color: var(--teal-700); font: 600 14px/1 var(--title); letter-spacing: .08em; text-transform: uppercase; box-shadow: none; transition: background .2s, transform .15s; }
.header .hdr-cta:hover, .header .hdr-cta:focus-visible, .mnav .panel a.mnav-cta:hover { background: var(--teal-200); filter: none; transform: none; }
.header .hdr-cta .dot, .mnav-cta .dot { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.header .hdr-cta .dot .ic, .mnav-cta .dot .ic { display: block; width: 16px; height: 16px; }
@media (max-width: 1280px) { .header .hdr-cta { height: 40px; padding: 0 16px 0 5px; font-size: 13.5px; } }
@media (max-width: 640px) { .header .hdr-cta { height: 36px; padding: 0 12px 0 4px; font-size: 12.5px; gap: 7px; letter-spacing: .05em; } .header .hdr-cta .dot { width: 28px; height: 28px; } }
.mnav .panel a.mnav-cta { display: flex; align-items: center; justify-content: center; padding: 0 18px 0 6px; margin-top: 20px; height: 52px; font-size: 15px; border-bottom: 0; text-decoration: none; }

/* photo bands in the menu: a green "View all" pill so it's clear the band itself opens the group */
.cm2-band em.sm-view { align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 14px; border-radius: 999px; background: var(--brand); color: #fff; font: 600 12.5px/1 var(--title); letter-spacing: .02em; box-shadow: 0 4px 12px -4px rgba(4, 107, 103, .6); transition: background .15s, transform .15s; }
.cm2-band em.sm-view .ic { width: 15px; height: 15px; }
.cm2-band:hover em.sm-view, .cm2-band:focus-visible em.sm-view { background: var(--action); }
.cm2-band:hover em.sm-view .ic { transform: translateX(3px); }
.cm2-band:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.cm2-band > span { min-width: 0; overflow: hidden; white-space: nowrap; }
.cm2-band > span b { flex: none; }
.cm2-band > span small { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cm2-band em.sm-view { flex: none; white-space: nowrap; }

/* photo bands: no pill – the right end of the band fades into the brand green with "View all N →",
   so the whole strip reads as one clickable bar */
.cm2-band { padding-right: 0; }
.cm2-band em.sm-view { position: absolute; top: 0; right: 0; bottom: 0; height: auto; display: flex; align-items: center; gap: 6px; padding: 0 16px 0 64px; border-radius: 0; box-shadow: none; background: linear-gradient(90deg, rgba(34, 179, 168, 0) 0%, rgba(34, 179, 168, .9) 48%, rgba(34, 179, 168, .96) 100%); color: #fff; font: 600 13px/1 var(--title); letter-spacing: .02em; text-shadow: 0 1px 2px rgba(4, 60, 58, .35); transition: padding .2s; }
.cm2-band em.sm-view .ic { width: 16px; height: 16px; transition: transform .15s; }
.cm2-band:hover em.sm-view, .cm2-band:focus-visible em.sm-view { background: linear-gradient(90deg, rgba(4, 132, 127, 0) 0%, rgba(4, 132, 127, .92) 45%, rgba(4, 132, 127, .98) 100%); padding-left: 80px; }
.cm2-band:hover em.sm-view .ic { transform: translateX(3px); }
.cm2-band > span { position: relative; z-index: 1; padding-right: 140px; }

/* "Free quotes" button as designed (free-quotes-button.svg): the document icon sits straight on the pill –
   teal outline, no filled circle */
.header .hdr-cta, .mnav .panel a.mnav-cta { gap: 9px; padding: 0 20px 0 14px; background: #d9f2ef; color: #176e69; }
.header .hdr-cta .dot, .mnav-cta .dot { width: 22px; height: 22px; background: none; color: #159c94; border-radius: 0; }
.header .hdr-cta .dot .ic, .mnav-cta .dot .ic { width: 20px; height: 20px; stroke-width: 2.1; }
@media (max-width: 1280px) { .header .hdr-cta { padding: 0 18px 0 12px; } }
@media (max-width: 640px) { .header .hdr-cta { padding: 0 12px 0 10px; gap: 6px; } .header .hdr-cta .dot { width: 18px; height: 18px; } .header .hdr-cta .dot .ic { width: 17px; height: 17px; } }

/* "Free quotes" everywhere (main.js adds .fq-btn): the header button's look – light teal pill, outline document icon */
a.fq-btn, button.fq-btn, .btn.fq-btn, .btn.green.fq-btn, .btn.white.fq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 22px 0 16px; border: 0; border-radius: 999px; background: #d9f2ef; color: #176e69; font: 600 14px/1 var(--title); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; box-shadow: none; filter: none; cursor: pointer; transition: background .2s; }
a.fq-btn:hover, button.fq-btn:hover, a.fq-btn:focus-visible, button.fq-btn:focus-visible { background: var(--teal-200); color: #176e69; transform: none; filter: none; }
a.fq-btn:focus-visible, button.fq-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.fq-ic { flex: none; display: grid; place-items: center; width: 20px; height: 20px; color: #159c94; }
.fq-ic .ic { width: 20px; height: 20px; }
.btn.sm.fq-btn { min-height: 38px; padding: 0 18px 0 13px; font-size: 13px; }
.btn.sm.fq-btn .fq-ic, .btn.sm.fq-btn .fq-ic .ic { width: 18px; height: 18px; }
button.fq-btn[disabled] { opacity: .6; cursor: default; }
