* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-page); color: var(--text-body); font: 400 16px/1.5 var(--font); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 24px; height: 24px; flex-shrink: 0; }
a { color: var(--accent); text-decoration: none; }
a, button, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h3 { color: var(--text-heading); font-size: 17px; font-weight: 600; line-height: 1.3; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
section { margin-top: var(--section-gap); scroll-margin-top: 24px; }
.nowrap, .price, .phone { white-space: nowrap; }
.h2 { margin-bottom: 16px; }
.intro { margin-bottom: 28px; max-width: 720px; }
.btn { text-align: center; min-height: 56px; height: auto; padding-block: 16px; width: 100%; line-height: 1.25; }
.btn--outline { min-height: 52px; }
.desktop-only { display: none; }
.site-header { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { width: 120px; height: 40px; object-fit: contain; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.phone { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; font-weight: 600; }
.header-phone { padding: 0 10px; background: var(--bg-card); border-radius: var(--r-sm); font-size: 14px; }
.header-phone svg { width: 16px; }
.hero { margin-top: 0; }
.hero-photo { position: relative; margin-inline: -16px; height: 396px; height: clamp(260px, calc(100svh - 460px), 396px); }
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero-photo--scene > img { object-position: 63% 35%; }
.hero-photo::after { content: ''; position: absolute; inset: auto 0 0; height: 150px; background: linear-gradient(transparent, var(--bg-page)); pointer-events: none; }
.photo-label { position: absolute; bottom: 92px; left: 16px; z-index: 1; padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg-card); font-size: 12px; line-height: 1.4; }
.photo-label strong { display: block; color: var(--text-heading); font-size: 14px; }
.hero-copy { position: relative; margin-top: -8px; }
.hero .h1 { margin-bottom: 20px; font-size: 44px; }
.hero .lead { margin-bottom: 20px; }
.hero-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.hero-price small { color: var(--text-muted); font-size: 14px; }
.hero-actions p { margin-top: 12px; text-align: center; color: var(--text-muted); font-size: 12px; }
.hero-hours > span { white-space: nowrap; }
.promo { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-tint); color: var(--text-heading); padding: 6px 10px; border-radius: 14px; font-size: 12px; margin-bottom: 20px; }
.promo svg { width: 16px; height: 16px; }
.gift-banner { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--bg-tint); border-radius: var(--r-xl); margin-top: 24px; }
.gift-banner .icon-box { background: var(--bg-card); }
.gift-banner h3 { font-size: 16px; }
.gift-banner p { font-size: 13px; margin-top: 4px; }
.stars { color: var(--rating); white-space: nowrap; letter-spacing: 2px; }
.feature-grid { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 16px; }
.feature { display: flex; gap: 14px; padding-block: 20px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature p { font-size: 14px; margin-top: 8px; }
.icon-box { display: inline-flex; flex-shrink: 0; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--bg-tint); color: var(--accent); border-radius: var(--r-sm); }
.package-total { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-top: 24px; }
.package-total > div { flex-shrink: 0; }
.package-total small { display: block; color: var(--text-muted); font-size: 13px; }
.price { font-size: 24px; color: var(--accent); font-weight: 700; letter-spacing: -.02em; }
.package-total .btn { width: auto; flex: 1; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.facts > div { padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-card); font-size: 13px; }
.facts strong { display: block; color: var(--accent); font-size: 24px; line-height: 1.2; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 24px; }
.gallery figure { position: relative; min-width: 0; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 148px; object-fit: cover; border-radius: var(--r-xl); }
.gallery figure:first-child img { height: 230px; }
.gallery img[src*="stomatologiia-model"] { object-position: 50% 60%; }
.gallery figcaption { position: absolute; bottom: 10px; left: 8px; background: var(--bg-card); border-radius: 8px; color: var(--text-heading); font-size: 12px; padding: 4px 6px; }
.doctor { overflow: hidden; }
.doctor > img { width: 100%; height: 400px; object-fit: cover; object-position: 50% 0%; }
.doctor-copy { padding: 20px; }
.doctor-copy h3 { font-size: 23px; margin-bottom: 8px; }
.doctor-copy p { margin-bottom: 16px; font-size: 14px; }
.chip { display: inline-block; background: var(--bg-tint); color: var(--text-heading); border-radius: 14px; font-size: 12px; padding: 5px 10px; margin-bottom: 20px; }
.doctor-heading { margin-bottom: 24px; }
.rating { display: flex; align-items: center; gap: 14px; padding: 16px; margin: 24px 0; }
.rating strong { font-size: 40px; color: var(--text-heading); line-height: 1; }
.rating small { display: block; font-size: 13px; }
.grid { display: grid; gap: 20px; }
.doctors-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.doctor-tile img { width: 100%; height: 200px; object-fit: cover; object-position: 50% 15%; border-radius: 18px; }
.doctor-tile h3 { margin-top: 12px; }
.doctor-tile p { margin-top: 6px; color: var(--text-muted); font-size: 13px; }
.review { padding: 20px; display: flex; flex-direction: column; }
.review blockquote { font-size: 15px; margin: 14px 0 20px; flex: 1; }
.review footer { display: flex; align-items: end; justify-content: space-between; font-size: 12px; color: var(--text-muted); }
.review footer strong { display: block; color: var(--text-heading); }
.section-link { margin-top: 24px; }
.steps { padding: 0; list-style: none; }
.step { display: flex; gap: 14px; padding: 20px; }
.step-number { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--accent); color: var(--text-on-accent); display: grid; place-items: center; font-weight: 600; }
.step p { font-size: 14px; margin-top: 8px; }
.location { overflow: hidden; }
.location iframe { display: block; width: 100%; height: 200px; border: 0; border-radius: var(--r-xl); }
.contact-details { padding: 20px; display: grid; align-content: center; gap: 20px; }
.contact-row { display: flex; gap: 12px; font-size: 14px; }
.contact-row svg { color: var(--accent); width: 20px; }
.contact-row strong { display: block; color: var(--text-heading); }
.contact-row small { display: block; color: var(--text-muted); margin-top: 4px; }
.booking { background: var(--bg-dark); color: var(--text-on-dark); padding-block: 48px; }
.booking .h2 { color: var(--text-on-dark); }
.booking-copy p { margin-bottom: 24px; }
.booking-copy .phone { color: var(--text-on-dark); }
.booking-form { margin-top: 24px; }
.field { margin-bottom: 16px; }
label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
input, select { width: 100%; min-width: 0; height: 56px; padding: 0 16px; font: 400 16px var(--font); color: var(--text-body); background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px; }
input::placeholder { color: var(--text-muted); }
.select-wrap { position: relative; }
select { appearance: none; padding-right: 44px; }
.select-wrap svg { position: absolute; right: 14px; top: 16px; pointer-events: none; color: var(--text-muted); }
.field-error { color: #FFD4D4; font-size: 14px; margin-top: 8px; }
[aria-invalid=true] { border: 2px solid #B42318; }
.legal { font-size: 12px; line-height: 1.4; margin-top: 16px; }
.form-message { margin-top: 16px; }
button:disabled { opacity: .65; cursor: default; }
form[aria-busy=true] button { cursor: wait; }
.faq details { padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text-heading); font-weight: 600; font-size: 15px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .minus, .faq [open] .plus { display: none; }
.faq [open] .minus { display: block; }
.faq details p { padding-bottom: 20px; font-size: 14px; }
.program { padding: 20px; display: flex; flex-direction: column; }
.program p { font-size: 14px; margin: 10px 0; flex: 1; }
.program-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.program .price { font-size: 20px; }
.arrow-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; }
.site-footer { background: var(--bg-tint); margin-top: var(--section-gap); padding-block: 24px; font-size: 12px; }
.footer-inner { display: flex; flex-direction: column; gap: 12px; }
.site-footer .phone { font-size: 14px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 2; background: var(--bg-card); padding: 12px; min-height: 44px; }
.skip-link:focus { top: 8px; }
@media (min-width: 768px) {
  .grid, .feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .feature-grid { border: 0; background: none; padding: 0; }
  .feature { display: block; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; background: var(--bg-card); }
  .feature + .feature { border-top: 1px solid var(--line); }
  .feature .icon-box { margin-bottom: 16px; }
  .btn { width: auto; min-width: 280px; }
  .package-total { padding: 24px 32px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-xl); }
  .package-total .btn { flex: none; }
  .package-total > div { display: flex; align-items: baseline; gap: 16px; }
  .hero-photo { margin-inline: 0; border-radius: var(--r-xxl); overflow: hidden; }
  .booking-form { max-width: 600px; }
}
@media (min-width: 1200px) {
  .desktop-only { display: block; }
  .mobile-only { display: none; }
  .site-header { height: 88px; }
  .logo { width: 132px; height: 44px; }
  .header-actions .btn { min-width: 180px; min-height: 48px; padding-block: 12px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 80px; margin-top: 24px; align-items: center; }
  .hero-photo { grid-column: 2; grid-row: 1; height: 660px; }
  .hero-photo::after { display: none; }
  .photo-label { left: 24px; bottom: 24px; }
  .hero-copy { grid-column: 1; grid-row: 1; margin: 0; }
  .trust { font-size: 14px; margin-bottom: 32px; }
  .hero .h1 { font-size: 84px; margin-bottom: 32px; }
  .hero .lead { margin-bottom: 32px; }
  .hero-price { margin-bottom: 32px; }
  .hero-actions { display: flex; align-items: center; gap: 24px; }
  .hero-actions .btn { min-width: 300px; }
  .hero-hours > span { display: block; }
  .hero-hours .hours-dot { display: none; }
  .hero-actions p { text-align: left; margin: 0; max-width: 130px; }
  h3 { font-size: 20px; }
  .grid, .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .doctors-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .doctor-tile img { height: 440px; border-radius: var(--r-xl); }
  .doctor-tile p { font-size: 16px; }
  .feature p, .review blockquote { font-size: 16px; }
  .feature { min-height: 212px; }
  .package-total .price { font-size: 36px; }
  .clinic { display: grid; grid-template-rows: auto 1fr; align-items: start; row-gap: 24px; grid-template-columns: 460px minmax(0, 1fr); column-gap: 84px; }
  .clinic-copy .facts { margin-bottom: 0; }
  .clinic-copy { grid-column: 1; grid-row: 1; }
  .gallery { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .clinic > .btn { grid-column: 1; align-self: start; justify-self: start; margin-top: 0; }
  .gallery img { height: 240px; }
  .gallery figure:first-child img { height: 360px; }
  .doctor-section { position: relative; }
  .doctor-heading { position: absolute; left: 584px; top: 90px; margin: 0; }
  .doctor { display: grid; grid-template-columns: 520px minmax(0, 1fr); }
  .doctor > img { height: 600px; }
  .doctor-copy { padding: 210px 64px 48px; align-self: center; }
  .doctor-copy p { font-size: 16px; }
  .section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
  .section-heading .h2 { margin: 0; }
  .rating { margin: 0; min-width: 330px; }
  .review { padding: 28px; }
  .review footer { font-size: 14px; }
  .section-link { margin-top: 48px; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; }
  .step { display: block; padding: 28px; }
  .step-number { margin-bottom: 20px; width: 44px; height: 44px; }
  .step p { font-size: 16px; }
  .location { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-top: 40px; background: none; border: 0; }
  .location iframe { height: 420px; }
  .contact-details { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; }
  .booking { padding-block: 96px; }
  .booking-inner { display: grid; grid-template-columns: 1fr 600px; gap: 80px; align-items: center; }
  .booking-form { margin: 0; padding: 36px; border-radius: var(--r-xl); background: var(--bg-card); color: var(--text-body); }
  .booking-form input, .booking-form select { background: var(--bg-page); }
  .booking-form .btn { width: 100%; background: var(--accent); color: var(--text-on-accent); }
  .field-error { color: #B42318; }
  .faq { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 64px; }
  .faq-intro p { max-width: 350px; }
  .program { padding: 28px; }
  .program p { font-size: 16px; }
  .footer-inner { flex-direction: row; align-items: center; gap: 24px; }
  .footer-contact { margin-left: auto; display: flex; align-items: center; gap: 8px; }
}
@media (hover:hover) and (pointer:fine) {
  a:hover { text-decoration: underline; }
  .btn:hover { text-decoration: none; }
  .btn--outline:hover { background: var(--bg-tint); }
  .btn--light:hover { background: var(--bg-tint); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:active { transform: none; }
}

/* Послуги й ціни: спільна картка пакета та прайс v4. */
.pricing-grid { display: grid; gap: 24px; align-items: stretch; }
.pricing-grid > *, .price-list-wrap { min-width: 0; }
.package-card { display: flex; flex-direction: column; background: var(--bg-tint); border-radius: var(--r-xl); padding: 20px; scroll-margin-top: 24px; }
.package-label { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; background: var(--bg-card); color: var(--text-heading); border-radius: 14px; padding: 7px 12px; font-size: 14px; font-weight: 500; margin-bottom: 16px; }
.package-label svg { width: 16px; height: 16px; color: var(--accent); }
.package-card > h3 { font-size: 24px; letter-spacing: -.01em; margin-bottom: 20px; }
.package-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.package-list li { display: flex; align-items: flex-start; gap: 10px; }
.package-list svg { width: 22px; height: 22px; color: var(--accent); background: var(--bg-card); border-radius: 50%; }
.package-list strong { display: block; color: var(--text-heading); font-size: 15px; font-weight: 600; line-height: 1.4; }
.package-list p { display: none; font-size: 14px; line-height: 1.45; margin-top: 4px; }
.package-card .gift-banner { background: var(--bg-card); padding: 16px; gap: 12px; border-radius: var(--r-md); }
.package-card .gift-banner svg { color: var(--accent); }
.package-card .gift-banner p { color: var(--text-body); }
.package-footer { margin-top: auto; padding-top: 28px; }
.package-footer > p { margin-bottom: 20px; }
.package-footer .price { font-size: 28px; }
.package-footer small { font-size: 13px; }
.package-footer .btn { width: 100%; min-width: 0; }
.price-list { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-xl); padding-inline: 16px; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; gap: 4px 8px; align-items: center; min-height: 44px; padding-block: 18px; }
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-name { grid-column: 1; grid-row: 1; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--text-heading); }
.price-description { grid-column: 1 / -1; grid-row: 2; color: var(--text-muted); font-size: 14px; line-height: 1.4; }
.price-value { grid-column: 2; grid-row: 1; font-size: 16px; color: var(--accent); white-space: nowrap; }
.price-row > svg { grid-column: 3; grid-row: 1; width: 18px; height: 18px; }
.price-row:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.price-note { margin-top: 16px; font-size: 14px; color: var(--text-muted); }
.pricing-mobile-cta { margin-top: 24px; }
.promo { min-height: 44px; }
@media (min-width: 768px) {
  .package-card { padding: 36px; }
  .package-card > h3 { font-size: 32px; }
  .package-label { font-size: 15px; padding: 8px 14px; }
  .package-list p { display: block; }
  .package-list strong { font-size: 16px; }
  .package-list svg { width: 26px; height: 26px; }
  .package-footer .price { font-size: 40px; }
  .price-list { padding-inline: 28px; }
  .price-row { grid-template-columns: minmax(0, 1fr) auto 20px; column-gap: 16px; padding-block: 16px; }
  .price-name { font-size: 19px; }
  .price-description { grid-column: 1; font-size: 15px; }
  .price-value { grid-row: 1 / 3; font-size: 20px; }
  .price-row > svg { grid-row: 1 / 3; width: 20px; height: 20px; }
  .pricing-mobile-cta { display: none; }
}
@media (min-width: 1200px) {
  .pricing-grid { grid-template-columns: 440px minmax(0, 1fr); }
}
@media (hover:hover) and (pointer:fine) {
  .price-row:hover { background: var(--bg-page); text-decoration: none; }
}

/* Версія 5 (09.11.2026): будова за погодженим макетом телефона. */
.hero .h1--long { font-size: 34px; line-height: 1.08; }
.eyebrow { color: var(--accent); font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.trust-tiles { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.trust-tiles li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-md); }
.trust-tiles strong { color: var(--text-heading); font-size: 22px; line-height: 1.2; white-space: nowrap; }
.trust-tiles span { color: var(--text-muted); font-size: 13px; }
.trust-tiles .star { color: var(--rating); font-size: 18px; }
.doctor-tile { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 8px 16px; }
.doctor-tile h3, .doctor-tile p, .doctor-tile .chip { margin-inline: 8px; }
.chip--stazh { align-self: flex-start; margin-top: 10px; margin-bottom: 0; }
.rail-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; min-height: 6px; }
.rail-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .2s ease; }
.rail-dots i.is-active { width: 22px; background: var(--accent); }
.text-link { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-weight: 600; }
.text-link svg { width: 18px; height: 18px; }
.offer .offer-title { color: var(--text-heading); font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 20px; }
.offer .package-list li { align-items: center; }
.offer .package-list strong { font-weight: 400; color: var(--text-body); }
.offer .package-footer { padding-top: 24px; }
.package-footer > p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price-old { color: var(--text-muted); font-size: 18px; font-weight: 500; text-decoration-thickness: 1.5px; white-space: nowrap; }
.program-price { display: flex; flex-direction: column; gap: 2px; }
.program-price .price-old { font-size: 14px; }
.countdown { margin-bottom: 20px; }
.countdown-label { color: var(--text-heading); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.countdown-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.countdown-tiles span { padding: 12px 6px; background: var(--bg-dark); color: var(--text-on-dark); border-radius: 14px; text-align: center; font-size: 14px; }
.countdown-tiles b { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-list:not(.is-open) .price-row--extra { display: none; }
.price-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--accent); font: 600 16px var(--font); cursor: pointer; }
.price-more svg { width: 20px; height: 20px; transition: transform .2s ease; }
.price-more[aria-expanded=true] svg { transform: rotate(180deg); }
.booking-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.booking-steps li { display: flex; gap: 14px; align-items: flex-start; }
.booking-steps .step-number { width: 32px; height: 32px; background: var(--bg-card); color: var(--bg-dark); font-size: 15px; }
.booking-steps h3 { color: var(--text-on-dark); font-size: 16px; }
.booking-copy .booking-steps p { margin: 2px 0 0; color: var(--text-on-dark); opacity: .85; font-size: 14px; }
.callback-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; line-height: 1.45; }
.callback-note svg { width: 20px; height: 20px; margin-top: 1px; }
.or-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; font-size: 14px; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .35; }
.messengers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.btn--ghost { width: 100%; min-width: 0; gap: 10px; background: transparent; color: var(--text-on-dark); border: 1.5px solid currentColor; }
.btn--ghost svg { width: 20px; height: 20px; }
#adresa .intro { margin-bottom: 20px; }
#adresa .gallery { margin: 16px 0 0; }
@media (max-width: 767px) {
  .rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { flex: 0 0 82%; min-width: 0; scroll-snap-align: start; }
  .rail--doctors > * { flex-basis: 46%; }
  .rail--photo > * { flex-basis: 74%; }
  .rail--doctors .doctor-tile img { height: 190px; }
  #adresa .gallery img, #adresa .gallery figure:first-child img { height: 180px; }
}
@media (min-width: 768px) {
  .rail-dots { display: none; }
  #adresa .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #adresa .gallery figure:first-child { grid-column: auto; }
  #adresa .gallery img, #adresa .gallery figure:first-child img { height: 220px; }
  .offer .offer-title { font-size: 34px; }
}
@media (min-width: 1200px) {
  .hero-copy .trust-tiles { margin-top: 36px; max-width: 520px; }
  .hero .h1--long { font-size: 54px; }
  .offer { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: end; padding: 48px; }
  .offer .package-footer { margin: 0; padding: 0; }
  .offer .package-list { gap: 16px; }
  .offer .package-list strong { font-size: 18px; }
  .offer .price-old { font-size: 22px; }
  .price-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; padding-inline: 32px; }
  .price-list:not(.is-open) .price-row--extra { display: grid; }
  .price-list .price-row:nth-child(2) { border-top: 0; }
  .price-more { display: none; }
  .booking-inner { align-items: start; }
  .booking-copy .h2 { margin-bottom: 16px; }
  .booking-steps { margin-top: 8px; gap: 24px; }
  .booking-steps h3 { font-size: 18px; }
  .booking-copy .booking-steps p { font-size: 16px; }
  .booking-form .btn--ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
  #adresa .gallery img, #adresa .gallery figure:first-child img { height: 260px; }
}
@media (hover:hover) and (pointer:fine) {
  .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
  .booking-form .btn--ghost:hover { background: var(--bg-tint); }
  .price-more:hover { background: var(--bg-page); }
}
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
