:root {
  --brand: #17bba7;
  --brand-dark: #0b7a6d;
  --brand-soft: #e6f7f4;
  --ink: #1d2b36;
  --ink-soft: #4a5a66;
  --line: #dfe8e6;
  --bg: #ffffff;
  --bg-alt: #f5faf9;
  --star: #f5b301;
  --wa: #1fae55;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(16, 52, 48, .08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Assistant", "Heebo", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
section { padding: 64px 0; }
.alt { background: var(--bg-alt); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 680px; }
.center .lead { margin-inline: auto; }
.eyebrow { color: var(--brand-dark); font-weight: 700; font-size: .95rem; margin-bottom: .4em; display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-call { background: var(--brand-dark); color: #fff; }
.btn-ghost { border-color: var(--brand-dark); color: var(--brand-dark); background: #fff; }
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.nav a:hover { color: var(--brand-dark); }
.header-phone { font-weight: 800; text-decoration: none; color: var(--brand-dark); white-space: nowrap; }
@media (max-width: 860px) { .nav { display: none; } }

/* Hero */
.hero { padding: 48px 0 64px; background: linear-gradient(180deg, var(--brand-soft), #fff); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-img { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.rating {
  display: inline-flex; align-items: center; gap: .5em; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .35em 1em; margin-bottom: 1.2em; font-weight: 700; text-decoration: none; color: var(--ink);
}
.stars { color: var(--star); letter-spacing: 2px; }
.hero ul { list-style: none; padding: 0; margin: 0 0 1.6em; }
.hero li { padding-inline-start: 1.6em; position: relative; margin-bottom: .3em; }
.hero li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--brand-dark); font-weight: 800; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-img { max-width: 520px; margin-inline: auto; }
}

/* Cards / grids */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
a.card { text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; display: block; }
a.card:hover { border-color: var(--brand); transform: translateY(-2px); }
.card .more { color: var(--brand-dark); font-weight: 700; }
.tag { display: inline-block; background: var(--brand-soft); color: var(--brand-dark); font-size: .8rem; font-weight: 700; padding: .15em .7em; border-radius: 999px; margin-bottom: .6em; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-top: 32px; }
.stat { text-align: center; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat b { display: block; font-size: 2rem; color: var(--brand-dark); line-height: 1.1; }
.stat span { color: var(--ink-soft); font-size: .95rem; }

/* Steps */
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 56px; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 18px; inset-inline-start: 24px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand-dark); color: #fff; font-weight: 800;
  display: grid; place-items: center;
}

/* Video testimonials (lite YouTube) */
.videos { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.yt { border-radius: var(--radius); overflow: hidden; background: #000; position: relative; aspect-ratio: 16 / 9; cursor: pointer; border: 0; padding: 0; width: 100%; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
/* No icon on top of the thumbnail: the play icon lives under it (.yt-play, added by site.js) */
.yt img { transition: filter .15s; }
.yt:hover img, .yt:focus-visible img { filter: brightness(1.06); }
.yt-play { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.yt-play svg { width: 34px; height: 24px; flex: none; transition: transform .15s; }
.video-cap.has-play { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.yt-play-row { display: flex; align-items: center; margin-top: 10px; cursor: pointer; color: var(--ink); }
.testimonial .yt-play-row { margin: 0; padding: 14px 20px 0; }
.video-cap.has-play:hover .yt-play svg, .yt-play-row:hover .yt-play svg { transform: scale(1.12); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { margin-top: 8px; font-weight: 600; }

/* Quotes */
.quote { font-size: 1.05rem; }
.quote p::before { content: "”"; color: var(--brand); font-size: 2.2rem; line-height: 0; vertical-align: -.35em; margin-inline-end: .1em; }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink-soft); }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.about img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; }
.faq summary::after { content: "+"; float: left; color: var(--brand-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 8px; color: var(--ink-soft); }

/* Article (condition pages) */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 1.4em; }
.article ul { padding-inline-start: 1.2em; }
.article li { margin-bottom: .4em; }
.note { background: var(--brand-soft); border-radius: var(--radius); padding: 18px 22px; font-size: .95rem; color: var(--ink-soft); }
.breadcrumb { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1em; }
.breadcrumb a { color: var(--ink-soft); }

/* CTA band */
.cta-band { background: var(--brand-dark); color: #fff; text-align: center; }
.cta-band .lead { color: #d8f2ee; }
.cta-band .actions { justify-content: center; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: #fff; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.contact iframe { width: 100%; min-height: 320px; height: 100%; border: 0; border-radius: var(--radius); }
.contact dl { margin: 0 0 1.4em; }
.contact dt { font-weight: 700; color: var(--ink-soft); font-size: .9rem; }
.contact dd { margin: 0 0 .8em; font-size: 1.1rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #13222c; color: #c5d3d9; padding: 40px 0 96px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.socials { display: flex; gap: 14px; }

/* Mobile sticky action bar */
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.06);
  }
  .mobile-bar .btn { justify-content: center; padding: .7em 1em; }
  .header-phone { display: none; }
}

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

blockquote { margin: 0; }

/* Floating WhatsApp button (desktop only; mobile uses .mobile-bar) */
.wa-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 30;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(31, 174, 85, .4);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }
@media (max-width: 860px) { .wa-float { display: none; } }

/* Illustration at the top of condition cards */
.card-img {
  width: calc(100% + 48px); max-width: none;
  margin: -24px -24px 18px;
  aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card .tag { margin-top: 0; }

/* Illustration inside condition pages */
.article-img {
  float: left; width: 300px; margin: 6px 28px 16px 0;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.article::after { content: ""; display: block; clear: both; }
@media (max-width: 640px) { .article-img { float: none; width: 100%; margin: 0 0 24px; } }

/* About: crop the photo so it sits level with the text column */
.about img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 30%; width: 100%; }

.rating strong { font-weight: 800; }
.rating-sep { width: 1px; height: 1.1em; background: var(--line); margin-inline: .25em; }
.rating-count { font-weight: 600; color: var(--ink-soft); }

/* Video testimonials with quote */
.testimonials { display: grid; gap: 20px; margin-top: 40px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.testimonial { margin: 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.testimonial .yt { border-radius: 0; }
.testimonial .quote { margin: 0; padding: 18px 20px 6px; flex: 1; }
.testimonial .quote p { margin: 0; }
.testimonial figcaption { padding: 0 20px 18px; font-size: .95rem; color: var(--ink-soft); }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--ink); }
@media (min-width: 1000px) { .testimonials { grid-template-columns: repeat(4, 1fr); } }

/* Language switch + Russian (LTR) page */
.header-end { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  font-size: .9rem; font-weight: 700; text-decoration: none; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: .2em .8em;
}
.lang-switch:hover { color: var(--brand-dark); border-color: var(--brand); }
html[lang="ru"] body { font-family: "Rubik", Arial, sans-serif; font-size: 17px; }
html[lang="ru"] h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); }
[dir="ltr"] .faq summary::after { float: right; }
[dir="ltr"] .wa-float { left: auto; right: 24px; }
[dir="ltr"] .quote p::before { content: "“"; }

/* Name badge on the hero photo */
.hero-img { position: relative; }
.hero-badge {
  position: absolute; bottom: 14px; inset-inline-start: 14px;
  background: rgba(255, 255, 255, .94); border-radius: 12px; padding: 8px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12); line-height: 1.3;
  display: flex; flex-direction: column;
}
.hero-badge strong { font-size: 1rem; }
.hero-badge span { font-size: .85rem; color: var(--brand-dark); font-weight: 700; }

/* Mobile hero: face first as a short banner, compact benefits, CTA lives in the sticky bar */
@media (max-width: 860px) {
  .hero { padding: 16px 0 36px; }
  .hero .wrap { gap: 18px; }
  .hero .hero-img { order: -1; max-width: none; width: 100%; }
  .hero .hero-img img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 45% 18%; width: 100%; }
  .hero .rating { margin-bottom: .8em; }
  .hero h1 { font-size: 1.85rem; }
  .hero .lead { font-size: 1.05rem; }
  .hero ul { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0; }
  .hero li {
    margin: 0; padding: .3em .85em; padding-inline-start: 1.9em;
    background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem;
  }
  .hero li::before { inset-inline-start: .75em; }
  .hero .actions, .hero .note { display: none; }
}

/* Stronger card frames so cards stand out from the white page, especially on phones */
:root { --card-line: #c7d6d2; --card-shadow: 0 4px 18px rgba(16, 52, 48, .12), 0 1px 3px rgba(16, 52, 48, .08); }
.card { border-color: var(--card-line); box-shadow: var(--card-shadow); }
@media (max-width: 860px) {
  .grid { gap: 24px; }
  .card { box-shadow: 0 6px 22px rgba(16, 52, 48, .14), 0 1px 4px rgba(16, 52, 48, .10); }
}
@media (max-width: 860px) { .card-img { aspect-ratio: 16 / 10; } }

/* Rating stats: always one row of three (avoids a lone third box on phones) */
.stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) {
  .stats { gap: 8px; }
  .stat { padding: 14px 6px; }
  .stat b { font-size: 1.45rem; }
  .stat span { font-size: .8rem; display: block; line-height: 1.35; }
}
a.stat { text-decoration: none; color: inherit; transition: border-color .15s; }
a.stat:hover { border-color: var(--brand); }

.video-note { text-align: center; font-size: .9rem; color: var(--ink-soft); margin: 20px 0 0; }
.video-note a { font-weight: 700; white-space: nowrap; }

/* Testimonial quotes: matching opening and closing marks (straight quotes read correctly in both directions) */
.quote p::before, [dir="ltr"] .quote p::before { content: '"'; }
.quote p::after { content: '"'; }
.quote p::before, .quote p::after {
  color: var(--brand-dark); font-weight: 800; font-size: 1.15em; line-height: 0; vertical-align: 0; margin: 0 .05em;
}

/* Keep the longer menu on one line on narrower desktop screens */
@media (max-width: 1100px) { .nav { gap: 14px; font-size: .93rem; } .header-end { gap: 10px; } }

/* Real clinic photos */
.photo-fig { margin: 28px 0; }
.photo-fig img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-fig figcaption { margin-top: 8px; font-size: .9rem; color: var(--ink-soft); text-align: center; }
.happy { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px auto 0; max-width: 760px; }
.happy img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 35%;
  border-radius: var(--radius); box-shadow: var(--card-shadow); border: 4px solid #fff; }

/* ---------- Accessibility menu ---------- */
/* Text scale driven by --fs (set by the menu); applies to rem-based headings and the px body size. */
html { font-size: calc(100% * var(--fs, 1)); }
body { font-size: calc(18px * var(--fs, 1)); }
html[lang="ru"] body { font-size: calc(17px * var(--fs, 1)); }

.a11y-btn {
  position: fixed; z-index: 40; left: 24px; bottom: 100px;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: #1f4fbf; color: #fff; display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.a11y-btn svg { width: 30px; height: 30px; fill: currentColor; }
.a11y-panel {
  position: fixed; z-index: 41; left: 24px; bottom: 164px; width: 270px; max-height: calc(100vh - 190px); overflow: auto;
  background: #fff; color: #1d2b36; border-radius: 14px; padding: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
  display: flex; flex-direction: column; gap: 8px; font-size: 16px;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; }
.a11y-close { border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: inherit; }
.a11y-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-panel button:not(.a11y-close) {
  font: inherit; font-size: .95rem; text-align: start; cursor: pointer; padding: .55em .8em;
  border: 1px solid #c7d6d2; border-radius: 10px; background: #f5faf9; color: inherit;
}
.a11y-panel button[aria-pressed="true"] { background: #1f4fbf; border-color: #1f4fbf; color: #fff; }
.a11y-panel .a11y-reset { background: #fff; }
.a11y-link { font-size: .9rem; text-align: center; }
@media (max-width: 860px) {
  .a11y-btn { left: 16px; bottom: 84px; width: 46px; height: 46px; }
  .a11y-panel { left: 16px; right: 16px; width: auto; bottom: 140px; }
}

/* Modes */
html.a11y-gray body { filter: grayscale(1); }
html.a11y-links a { text-decoration: underline !important; outline: 2px solid #ffbf00; outline-offset: 2px; }
html.a11y-font body, html.a11y-font body * { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .01em; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
html.a11y-contrast body, html.a11y-contrast body *:not(img):not(svg):not(path):not(circle):not(iframe):not(.a11y-btn):not(.a11y-btn *):not([aria-pressed="true"]) {
  background-color: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important;
}
html.a11y-contrast a, html.a11y-contrast a * { color: #ffe600 !important; }
html.a11y-contrast .a11y-panel button[aria-pressed="true"] { background: #ffe600 !important; color: #000 !important; }

/* Happy patients: 4 per row on desktop, 2 on phones */
.happy { max-width: 1000px; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.happy img { object-position: center; }
@media (max-width: 700px) { .happy { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.event-pair { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.event-pair img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 640px) { .event-pair { grid-template-columns: 1fr; } }
/* Three event photos: wide one on top, two below */
.event-pair { grid-template-columns: 1fr 1fr; }
.event-pair img:first-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.event-pair img:not(:first-child) { aspect-ratio: 1 / 1; }
@media (max-width: 640px) { .event-pair { grid-template-columns: 1fr 1fr; } }

/* Once a video is playing, remove our play-icon overlay so YouTube's own controls get every click */
.yt.yt-playing { cursor: auto; }
.yt.yt-playing img { filter: none; }

/* Featured testimonial (the Admor's recommendation) */
.featured-video { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center;
  margin: 40px auto 0; max-width: 900px; background: #fff; border: 1px solid var(--card-line);
  border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 18px; }
.featured-video h3 { font-size: 1.35rem; margin-bottom: .3em; }
.featured-video p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .featured-video { grid-template-columns: 1fr; gap: 14px; } }

/* Product shots of the devices: smaller, centred, no heavy frame */
.device-fig { max-width: 360px; margin-inline: auto; }
.device-fig img { box-shadow: none; border-radius: 0; }

/* Footer social icons */
.socials { gap: 12px; align-items: center; }
.social-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff; transition: background .15s, transform .15s; }
.social-icon:hover { background: var(--brand); transform: translateY(-2px); }
.social-icon svg { width: 22px; height: 22px; fill: currentColor; }

/* Social icons in their brand colours; on hover they lift, grow a little and glow in their own colour */
.social-icon { color: #fff; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.social-icon.si-fb { background: #1877f2; }
.social-icon.si-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-icon.si-yt { background: #ff0000; }
.social-icon:hover, .social-icon:focus-visible { transform: translateY(-4px) scale(1.12); filter: brightness(1.08); }
.social-icon.si-fb:hover, .social-icon.si-fb:focus-visible { background: #1877f2; box-shadow: 0 8px 20px rgba(24, 119, 242, .55); }
.social-icon.si-ig:hover, .social-icon.si-ig:focus-visible { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); box-shadow: 0 8px 20px rgba(214, 36, 159, .55); }
.social-icon.si-yt:hover, .social-icon.si-yt:focus-visible { background: #ff0000; box-shadow: 0 8px 20px rgba(255, 0, 0, .5); }
.social-icon:hover svg { animation: si-pop .35s ease; }
@keyframes si-pop { 0% { transform: scale(1); } 50% { transform: scale(1.18) rotate(-6deg); } 100% { transform: scale(1); } }
html.a11y-motion .social-icon:hover { transform: none; }

/* Condition chips under the treatments intro */
.chips { list-style: none; padding: 0; margin: 4px auto 18px; max-width: 860px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips li { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; font-size: .95rem;
  padding: .3em .9em; border-radius: 999px; }

/* Footer contact: one item per line with icons; no underlines in the footer */
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact strong { font-size: 1.05rem; margin-bottom: 2px; }
.footer-contact > span, .footer-contact > a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 18px; height: 18px; fill: var(--brand); flex: none; }
.footer-phone { font-size: 1.25rem; font-weight: 800; }
.site-footer a { text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--brand); }

/* Modern icon buttons in the About section */
.about-actions { gap: 14px; margin-top: 8px; }
.pill-link { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 12px;
  border-radius: 16px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s; }
.pill-link .pill-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.pill-link svg { width: 24px; height: 24px; fill: currentColor; }
.pill-text { display: flex; flex-direction: column; line-height: 1.25; }
.pill-text strong { font-size: 1.05rem; font-weight: 800; }
.pill-text small { font-size: .85rem; opacity: .8; }
.pill-primary { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff;
  box-shadow: 0 6px 18px rgba(11, 122, 109, .28); }
.pill-primary .pill-icon { background: rgba(255, 255, 255, .2); }
.pill-secondary { background: #fff; color: var(--ink); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); }
.pill-secondary .pill-icon { background: #ffe8e8; color: #e53935; }
.pill-link:hover, .pill-link:focus-visible { transform: translateY(-3px); }
.pill-primary:hover { box-shadow: 0 10px 24px rgba(11, 122, 109, .38); }
.pill-secondary:hover { border-color: var(--brand); }

/* Breadcrumb: coloured home icon instead of the words "דף הבית" */
.breadcrumb { display: flex; align-items: center; gap: 8px; }
.crumb-home { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--brand); color: #fff; box-shadow: 0 3px 10px rgba(11, 122, 109, .25); transition: transform .15s, background .15s; }
.crumb-home svg { width: 19px; height: 19px; fill: currentColor; }
.crumb-home:hover, .crumb-home:focus-visible { background: var(--brand-dark); transform: translateY(-2px); }

/* Accessibility button: same hover feel as the WhatsApp button */
.a11y-btn { transition: transform .15s ease, box-shadow .15s ease; }
.a11y-btn:hover, .a11y-btn:focus-visible { transform: scale(1.08); box-shadow: 0 6px 20px rgba(31, 79, 191, .45); }
.wa-float:focus-visible { transform: scale(1.08); }
html.a11y-motion .a11y-btn:hover, html.a11y-motion .wa-float:hover { transform: none; }

/* Phone button: icon + number instead of the word "חיוג:" */
.btn-phone span { font-weight: 800; letter-spacing: .02em; }
.cta-band .btn-phone svg { fill: #fff; }

/* "לתיאום פגישה ולהתייעצות" line under the videos */
.video-note { font-size: 1.05rem; color: var(--ink); }
.note-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--brand-dark); text-decoration: none; white-space: nowrap; }
.note-phone svg { width: 18px; height: 18px; fill: currentColor; }
.note-phone:hover { color: var(--brand); }

/* "More video testimonials on YouTube" link: YouTube icon, bold, no underline */
.yt-channel { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem;
  color: var(--ink); text-decoration: none; transition: color .15s, transform .15s; }
.yt-channel svg { width: 34px; height: 34px; flex: none; }
.yt-channel:hover, .yt-channel:focus-visible { color: #ff0000; transform: translateY(-2px); }

/* Header phone with an old-style desk telephone icon */
.header-phone { display: inline-flex; align-items: center; gap: 8px; }
.retro-phone { width: 22px; height: 22px; fill: var(--brand-dark); flex: none; transition: transform .2s; }
.header-phone:hover .retro-phone { animation: ring .45s ease; }
@keyframes ring { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
html.a11y-motion .header-phone:hover .retro-phone { animation: none; }

/* Phone buttons: retro phone that rings on hover (colour follows the button text) */
.btn-phone .retro-phone { width: 1.25em; height: 1.25em; fill: currentColor; }
.btn-phone:hover .retro-phone, .btn-phone:focus-visible .retro-phone { animation: ring .45s ease; }
html.a11y-motion .btn-phone:hover .retro-phone { animation: none; }

/* 404 page card titles (h2 for correct heading order, same look as before) */
.card .card-title { font-size: 1.2rem; font-weight: 700; margin: 0 0 .5em; }

/* Testimonial cards: condition link without underline (still coloured, underline only on hover) */
.testimonial figcaption a { text-decoration: none; font-weight: 700; color: var(--brand-dark); }
.testimonial figcaption a:hover, .testimonial figcaption a:focus-visible { text-decoration: underline; }

/* Inline links inside running text that should read as plain words (about page conditions list) */
.plain-links { color: var(--brand-dark); font-weight: 700; }
.plain-links a, .plain-links a:hover, .plain-links a:focus-visible { text-decoration: none; color: inherit; font-weight: inherit; }

/* Gentle hover on video thumbnails: slight lift, soft shadow, tiny image zoom (calm enough for a clinic site) */
.yt { transition: transform .25s ease, box-shadow .25s ease; }
.yt img { transition: transform .4s ease, filter .25s ease; }
.yt:not(.yt-playing):hover, .yt:not(.yt-playing):focus-visible { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16, 52, 48, .18); }
.yt:not(.yt-playing):hover img, .yt:not(.yt-playing):focus-visible img { transform: scale(1.03); }
.testimonial .yt:not(.yt-playing):hover { transform: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .yt:hover, .yt:hover img { transform: none !important; } }
html.a11y-motion .yt:hover, html.a11y-motion .yt:hover img { transform: none !important; }

/* Phones: less empty space between the page header (hero) and the first text section */
@media (max-width: 860px) {
  .hero + section { padding-top: 20px; }
  .hero .lead:last-child, .hero .lead:has(+ .actions) { margin-bottom: 0; }
  .hero:not(:has(ul)) { padding-bottom: 20px; }
}

/* Site-wide rule (Eyal's request): links inside running text are bold, brand-colored, never underlined.
   The accessibility menu's "highlight links" option still underlines them (a11y-links rule above uses !important). */
p a:not(.btn), li a:not(.btn), .lead a, figcaption a, .faq a { text-decoration: none; font-weight: 700; color: var(--brand-dark); }
p a:not(.btn):hover, li a:not(.btn):hover, .lead a:hover, figcaption a:hover, .faq a:hover { text-decoration: none; color: var(--brand); }
