/* МЦ Медтек Сървисис – основни стилове. Mobile-first, retina-ready (SVG иконки, srcset). */
:root {
  /* Цветове от логото на МЦ Медтек Сървисис */
  --navy: #002e6e;        /* тъмносиньо от логото */
  --navy-2: #0a3f86;
  --navy-deep: #001d47;
  --teal: #00b8de;        /* циан от логото – акценти, иконки, бутони */
  --teal-d: #0077a3;      /* по-тъмен циан – за текст и връзки (контраст 5:1) */
  --teal-50: #e8f8fc;
  --teal-100: #c8eef8;
  --accent: #00b8de;      /* основен бутон: циан с тъмносин текст (контраст 5.5:1) */
  --accent-d: #33c6e5;
  --on-accent: #002e6e;
  --bg: #f8fafc;
  --card: #ffffff;
  --ink: #12233d;
  --muted: #55657a;
  --line: #e1e7ef;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(0,46,110,.06), 0 8px 24px -12px rgba(0,46,110,.2);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.65 var(--font); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); margin-bottom: .6em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); } .small { font-size: .88rem; }
.ico { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.ico-lg { width: 32px; height: 32px; flex: none; }
.hp { position: absolute; left: -9999px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border-radius: 999px;
  font: 600 .96rem/1.2 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .9em 1.5em; font-size: 1.02rem; }
.btn-sm { padding: .5em .95em; font-size: .88rem; }
.btn-primary { background: var(--navy); color: #fff; } .btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-accent { background: var(--accent); color: var(--on-accent); font-weight: 700; } .btn-accent:hover { background: var(--accent-d); color: var(--on-accent); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; } .btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); } .btn-light:hover { background: var(--teal-50); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; } .btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.link { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; }
.link .ico { transition: transform .18s; } .link:hover .ico { transform: translateX(3px); }

/* Topbar & header */
.topbar { background: var(--navy); color: #d4e2f3; font-size: .84rem; }
.topbar-in { display: flex; gap: 22px; align-items: center; min-height: 38px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar span { display: inline-flex; gap: 6px; align-items: center; }
.topbar-social { margin-left: auto; gap: 14px !important; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(248,250,252,.92); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand-text strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }
.nav-toggle .ico { width: 28px; height: 28px; }
.nav-toggle .i-close { display: none; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 8px 11px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .93rem; }
.nav ul a:hover { background: var(--teal-50); color: var(--navy); }
.nav ul a[aria-current="page"] { color: var(--teal-d); background: var(--teal-50); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 92px) 0 clamp(48px, 7vw, 96px);
  background: radial-gradient(900px 460px at 88% 0%, var(--teal-100), transparent 70%), radial-gradient(600px 400px at -5% 100%, #dff3fa, transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 6px; }
.hero-facts .ico { color: var(--teal); }
.hero-card { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.hero-card-head { padding: 16px 20px; background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem; }
.hero-card-head span { display: inline-flex; gap: 8px; align-items: center; }
.sched { list-style: none; margin: 0; padding: 6px 0; }
.sched li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--line); align-items: center; }
.sched li:last-child { border-bottom: 0; }
.sched strong { display: block; color: var(--navy); font-size: .97rem; }
.sched span { font-size: .82rem; color: var(--muted); }
.sched-time { grid-column: 1; font-size: .86rem; font-weight: 600; color: var(--teal-d); }
.sched-book { grid-row: 1 / span 2; grid-column: 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-50); color: var(--teal-d); transition: background .18s, color .18s; }
.sched-book:hover { background: var(--accent); color: var(--on-accent); }
.hero-card-foot { display: flex; gap: 8px; align-items: center; padding: 14px 20px; background: var(--teal-50); text-decoration: none; color: var(--navy); font-size: .9rem; }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tint { background: var(--teal-50); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); background: linear-gradient(180deg, var(--teal-50), var(--bg)); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .3em; }
.page-head-hbo { background: radial-gradient(700px 300px at 85% 0%, #cfe8eb, transparent 70%), linear-gradient(180deg, var(--teal-50), var(--bg)); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { display: block; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.tile:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.tile h3 { margin: 16px 0 6px; }
.tile p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.tile-ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-d); flex: none; }

/* About & advantages */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.adv { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adv li { background: var(--card); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.adv h3 { margin: 12px 0 4px; } .adv p { margin: 0; color: var(--muted); font-size: .92rem; }
.adv-ico { color: var(--teal-d); }

/* People */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.person .avatar { aspect-ratio: 1 / 1; border-radius: 0; }
.person-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.person-body h3 { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; margin-bottom: 6px; }
.person-body .eyebrow { margin-bottom: 4px; font-size: .72rem; }
.person-body .link { margin-top: auto; }
.avatar { position: relative; background: linear-gradient(135deg, var(--teal-100), #e3ecf7); overflow: hidden; border-radius: 50%; }
.avatar::before { content: attr(data-initials); position: absolute; inset: 0; display: grid; place-items: center; font: 600 2.2rem var(--serif); color: var(--navy); opacity: .55; }
.avatar img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }

/* HBO teaser */
.hbo-teaser { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hbo-teaser-art { background: #fff; border-radius: var(--radius-lg); padding: 28px; display: grid; place-items: center; border: 1px solid var(--line); }
.hbo-teaser-art svg { width: 100%; max-width: 380px; }

/* Contact strip */
.contact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cs-item { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 700; }
.cs-item .ico-lg { color: var(--teal); }
.cs-item small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
a.cs-item:hover { border-color: var(--teal); }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ig-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; width: 100%; }

/* Social */
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); transition: background .18s; }
.social a:hover { background: var(--accent); color: var(--on-accent); }
.social-dark a { background: var(--teal-50); color: var(--navy); margin-top: 4px; }
.social-lg a { width: auto; height: auto; border-radius: 999px; padding: 8px 16px; display: inline-flex; gap: 8px; font-weight: 600; text-decoration: none; }
.cs-social { cursor: default; }

/* CTA & footer */
.cta-band { background: var(--navy); color: #d4e2f3; padding: 44px 0; background-image: radial-gradient(500px 200px at 90% 0%, rgba(0,184,222,.45), transparent 70%); }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer { background: var(--navy-deep); color: #b5c7e0; padding: 56px 0 0; font-size: .93rem; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer a { color: #d4e2f3; text-decoration: none; } .footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; }
.brand-footer { color: #fff; margin-bottom: 14px; } .brand-footer small { color: #8fb0d6; }
.muted-light { color: #9db3d3; max-width: 40ch; }
.footer-links, .footer-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-contacts li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contacts .ico { margin-top: 4px; color: var(--teal); }
.footer-contacts.dark { color: var(--ink); } .footer-contacts.dark a { color: var(--teal-d); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }

/* Content pages */
.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.prose { font-size: 1.04rem; } .prose p { max-width: 68ch; }
.side { display: grid; gap: 18px; }
.side-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-warn { background: #f3f6fb; border-color: #d9e2ef; }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--teal); margin-top: 3px; }
.side-warn .ticks .ico { color: var(--navy); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; }
.steps li::before { content: counter(s); grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; }
.steps span { color: var(--muted); }
.activity-list { display: grid; gap: 14px; }
.activity-row { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.activity-row h2 { font-size: 1.35rem; margin-bottom: 4px; } .activity-row h2 a { text-decoration: none; color: var(--navy); }
.activity-row p { margin: 0; color: var(--muted); }

/* Prices */
.price-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; }
.price-card h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 14px; }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: 0; }
.pl-name em { display: block; font-style: normal; font-size: .8rem; color: var(--muted); }
.pl-dots { flex: 1; }
.pl-price { font-weight: 700; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.note { display: flex; gap: 10px; margin-top: 24px; color: var(--muted); font-size: .92rem; }
.note .ico { color: var(--teal); margin-top: 3px; }

/* Team */
.team-list { display: grid; gap: 24px; }
.bio { display: grid; grid-template-columns: 220px 1fr; gap: 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; scroll-margin-top: 100px; }
.bio .avatar { width: 220px; height: 220px; }
.bio h2 { font-size: 1.6rem; }
.bio-foot { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 7px 13px; background: var(--teal-50); color: var(--teal-d); border-radius: 999px; font-weight: 600; font-size: .86rem; }

/* Forms */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form, .booking { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--navy); }
input, select, textarea { font: 400 1rem/1.4 var(--font); color: var(--ink); padding: 12px 14px; border: 1.5px solid #cfd8d6; border-radius: 10px; background: #fff; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,184,222,.15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--teal); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flashes { width: min(var(--wrap), 100% - 32px); margin: 20px auto 0; display: grid; gap: 8px; }
.flash { margin: 0; padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.flash-error { background: #fdecea; color: #8c2f1e; border: 1px solid #f4c7bd; }
.flash-success { background: #e7f5ee; color: #1c5f40; border: 1px solid #bfe3cf; }

/* Booking */
.step { border: 0; padding: 0 0 22px; margin: 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; min-width: 0; }
.step:disabled { opacity: .5; }
.step legend { font: 600 1.25rem var(--serif); color: var(--navy); display: flex; gap: 10px; align-items: center; margin-bottom: 14px; padding: 0; }
.step-n { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 .95rem var(--font); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice-body { display: grid; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; height: 100%; transition: border-color .15s, background .15s; }
.choice-body strong { color: var(--navy); font-size: .96rem; }
.choice-body small { color: var(--muted); font-weight: 500; }
.choice input:checked + .choice-body { border-color: var(--teal); background: var(--teal-50); box-shadow: inset 0 0 0 1px var(--teal); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--teal); outline-offset: 2px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.day { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 0; min-width: 72px; padding: 10px 8px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); }
.day small { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.day b { font-size: 1.3rem; color: var(--navy); line-height: 1.2; }
.day[aria-checked="true"] { border-color: var(--teal); background: var(--navy); }
.day[aria-checked="true"] small, .day[aria-checked="true"] b, .day[aria-checked="true"] span { color: #fff; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { padding: 10px 0; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: 600 .95rem var(--font); color: var(--navy); cursor: pointer; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--teal); }
.slot[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.booking-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.summary { margin: 0; font-weight: 600; color: var(--navy); }
.done { text-align: center; display: grid; justify-items: center; gap: 6px; }
.done-ico { width: 72px; height: 72px; border-radius: 50%; background: #e7f5ee; color: #1c7a50; display: grid; place-items: center; margin-bottom: 8px; }
.done-list { width: 100%; max-width: 480px; margin: 18px 0; text-align: left; border: 1px solid var(--line); border-radius: 12px; }
.done-list div { display: grid; grid-template-columns: 120px 1fr; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.done-list div:last-child { border: 0; }
.done-list dt { color: var(--muted); } .done-list dd { margin: 0; font-weight: 600; }

.map iframe { width: 100%; height: 380px; border: 0; display: block; filter: saturate(.85); }
.fb-embed { margin-top: 16px; }

/* Responsive */
@media (max-width: 1100px) {
  .nav ul a { padding: 8px 8px; font-size: .88rem; }
  .tiles, .people { grid-template-columns: repeat(3, 1fr); }
  .contact-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 16px; gap: 14px;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,46,110,.35); transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 13px 14px; font-size: 1.02rem; }
  body.nav-open .nav { transform: none; visibility: visible; }
  body.nav-open .i-open { display: none; } body.nav-open .i-close { display: block; }
  .hero-in, .about, .two-col, .hbo-teaser { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .hide-md { display: none !important; }
  .tiles, .people, .price-groups { grid-template-columns: 1fr 1fr; }
  .bio { grid-template-columns: 1fr; padding: 22px; }
  .bio .avatar { width: 140px; height: 140px; }
  .activity-row { grid-template-columns: auto 1fr; } .activity-row .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .hide-sm { display: none !important; }
  .tiles, .people, .price-groups, .adv, .contact-strip, .grid-2, .choice-grid, .footer-grid { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr 1fr; gap: 12px; }
  .person-body { padding: 14px; } .person-body h3 { font-size: 1.02rem; } .person-body .small { display: none; }
  .tile { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px; }
  .tile h3 { margin: 0 0 2px; align-self: end; } .tile p { grid-column: 2; }
  .tile-ico { grid-row: 1 / span 2; width: 48px; height: 48px; }
  .brand-text strong { font-size: 1.08rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .price-card { padding: 20px; }
  .booking-foot .btn { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .done-list div { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .header, .cta-band, .footer, .map { display: none; } }

/* ---------- Движещ се банер с новини (diagnosis.info) ---------- */
.ticker { display: flex; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); font-size: .9rem; position: relative; z-index: 60; }
.ticker-label { flex: none; display: inline-flex; align-items: center; gap: 0; padding: 0 16px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; letter-spacing: .01em; }
.ticker-label:hover { background: var(--navy-2); color: #fff; }
.ticker-dot { margin-right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(0,184,222,.7); animation: ticker-pulse 2s infinite; }
.ticker-viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker-move var(--ticker-duration, 60s) linear infinite; will-change: transform; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker-list li { display: flex; align-items: center; white-space: nowrap; }
.ticker-list li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); margin: 0 22px; opacity: .6; }
.ticker-list a { display: block; padding: 10px 0; color: var(--navy); font-weight: 600; text-decoration: none; }
.ticker-list a:hover, .ticker-list a:focus-visible { color: var(--teal-d); text-decoration: underline; }
.ticker-pause { flex: none; width: 40px; border: 0; border-left: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.ticker-pause:hover { background: var(--teal-50); }
.ticker-pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ticker-pause .p-play { display: none; fill: currentColor; stroke-width: 1.5; }
.ticker.is-paused .p-pause { display: none; } .ticker.is-paused .p-play { display: block; }
@keyframes ticker-move { to { transform: translateX(-50%); } }
@keyframes ticker-pulse { 0% { box-shadow: 0 0 0 0 rgba(0,184,222,.7); } 70% { box-shadow: 0 0 0 7px rgba(0,184,222,0); } 100% { box-shadow: 0 0 0 0 rgba(0,184,222,0); } }

/* ---------- Колаж от снимки във фона на началната страница ---------- */
.hero-has-collage { background: var(--navy); }
.hero-collage { position: absolute; inset: 0; display: grid; gap: 6px; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); }
.hero-collage.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.hero-collage.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.hero-collage.n3 { grid-template-columns: 1.4fr 1fr; }
.hero-collage.n3 figure:first-child { grid-row: span 2; }
.hero-collage.n4 { grid-template-columns: 1fr 1fr; }
.hero-collage.n5 figure:first-child { grid-row: span 2; }
.hero-collage figure { margin: 0; overflow: hidden; position: relative; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; display: block; animation: collage-drift 26s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -4s); }
@keyframes collage-drift { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
/* Полупрозрачен слой: снимките се виждат, а текстът остава четим */
.hero-collage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(248,250,252,.95) 0%, rgba(248,250,252,.88) 42%, rgba(248,250,252,.58) 72%, rgba(0,46,110,.35) 100%); }
.hero-has-collage .hero-in { position: relative; z-index: 1; }
.hero-has-collage .hero-card { box-shadow: 0 20px 50px -18px rgba(0,46,110,.55); }

@media (max-width: 960px) {
  .hero-collage::after { background: linear-gradient(180deg, rgba(248,250,252,.93), rgba(248,250,252,.86) 60%, rgba(248,250,252,.7)); }
}
@media (max-width: 560px) {
  .ticker { font-size: .86rem; }
  .ticker-label { padding: 0 12px; }
  .ticker-label .ticker-text { display: none; }
  .hero-collage, .hero-collage.n3, .hero-collage.n4, .hero-collage.n5 { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); }
  .hero-collage figure:first-child { grid-row: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ticker-list[aria-hidden="true"], .ticker-pause { display: none; }
  .hero-collage img, .ticker-dot { animation: none; }
}

/* ---------- Лого ---------- */
.brand-logo { width: auto; height: 54px; flex: none; }
.brand-footer .brand-logo { height: 50px; }
.brand-text strong { color: var(--navy); }
.brand-footer .brand-text strong { color: #fff; }
.brand-text small { color: var(--teal-d); }
.brand-footer .brand-text small { color: var(--teal); }

/* ---------- Снимка от центъра като фон на вътрешните страници ---------- */
.has-photo .page-head { position: relative; overflow: hidden; isolation: isolate; border-bottom: 0; }
.has-photo .page-head::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--site-photo); background-image: image-set(var(--site-photo) 1x, var(--site-photo-2x) 2x);
  background-size: cover; background-position: 50% 45%; }
.has-photo .page-head::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(248,250,252,.96) 0%, rgba(248,250,252,.9) 45%, rgba(232,248,252,.72) 100%); }
.has-photo .page-head .wrap { position: relative; }
.has-photo .page-head::after { box-shadow: inset 0 -4px 0 var(--teal); }

/* Начална страница: показваме повече от снимката */
.hero-collage img { object-position: 50% 45%; }
.hero-collage::after { background: linear-gradient(90deg, rgba(248,250,252,.95) 0%, rgba(248,250,252,.86) 40%, rgba(248,250,252,.35) 72%, rgba(0,46,110,.25) 100%); }
@media (max-width: 960px) {
  .hero-collage::after { background: linear-gradient(180deg, rgba(248,250,252,.9), rgba(248,250,252,.82) 60%, rgba(248,250,252,.65)); }
  .has-photo .page-head::after { background: rgba(248,250,252,.88); box-shadow: inset 0 -4px 0 var(--teal); }
}
@media (max-width: 560px) { .brand-logo { height: 46px; } }

/* ---------- Собствена снимка на страница (ХБО, ДЕКСА) ---------- */
.page-head.has-own-photo { position: relative; overflow: hidden; isolation: isolate; border-bottom: 0; }
.has-photo .page-head::before, .page-head.has-own-photo::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--page-photo, var(--site-photo));
  background-image: image-set(var(--page-photo, var(--site-photo)) 1x, var(--page-photo-2x, var(--site-photo-2x)) 2x);
  background-size: cover; background-position: 50% 40%; }
.page-head.has-own-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; box-shadow: inset 0 -4px 0 var(--teal);
  background: linear-gradient(90deg, rgba(248,250,252,.97) 0%, rgba(248,250,252,.9) 45%, rgba(232,248,252,.45) 100%); }
.page-head.has-own-photo .wrap { position: relative; }
@media (max-width: 960px) { .page-head.has-own-photo::after { background: rgba(248,250,252,.88); } }
.hbo-teaser-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; border: 4px solid #fff; }
.hbo-teaser-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; }

/* Лого на НЗОК до „Работим с НЗОК“ */
.hero-facts li.nzok img { height: 28px; width: auto; display: block; }
.hero-facts li.nzok .ico { color: var(--teal-d); }
