


img { height: auto; }


@media (max-width: 1250px) {
  header.site nav.main { display: none; }
  header.site .hdr-actions { margin-inline-start: auto; }
  header.site .burger { display: inline-flex; }
}


.dd-lang .soon { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; color: #8A94AA; font-size: 15px; font-weight: 500; cursor: default; }
.dd-lang .soon .flag { opacity: .55; }
.dd-lang .soon small { font-size: 11.5px; color: #8A94AA; }
.mnav-langs .soon { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px dashed var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: #8A94AA; }
.mnav-langs .soon .flag { opacity: .55; }
.mnav-langs a { display: inline-flex; align-items: center; gap: 6px; }
.f-langs { flex-wrap: wrap; }
.f-langs a { display: inline-flex; align-items: center; gap: 6px; }


.upload .up-rules { margin-top: 2px; }
.up-list { list-style: none; margin: -2px 0 12px; padding: 0; display: grid; gap: 6px; }
.up-list:empty { display: none; }
.up-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 8px; background: var(--iris-50); font-size: 13.5px; color: var(--navy); }
.up-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.up-list li b { flex: none; font-weight: 600; color: var(--teal); }
.up-list li.is-bad { background: #FFF1EB; }
.up-list li.is-bad b { color: #C2410C; }
.check-upload { margin: 0 0 12px; background: #fff; }


textarea.input { min-height: 96px; padding-top: 12px; resize: vertical; line-height: 1.45; font: inherit; }
.rform .consent + .consent { margin-top: -6px; }


.qdone-ref-line { font-size: 15px; color: var(--navy); }
.qdone-ref-line:has(.qdone-ref:empty) { display: none; }
.status-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 4px 0 12px; padding: 0; counter-reset: st; }
.status-steps li { counter-increment: st; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--muted); }
.status-steps li::before { content: counter(st); display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; font-size: 11px; font-weight: 700; color: var(--muted); }
.status-steps li.is-now { background: var(--iris-50); color: var(--navy); font-weight: 600; }
.status-steps li.is-now::before { background: var(--teal); color: #fff; }

@media (max-width: 640px) {
  .status-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-steps li { border-radius: 14px; text-align: start; line-height: 1.3; }
  .status-steps li::before { flex: none; }
}


.sgrid.two { grid-template-columns: 1.55fr 1fr; }
@media (max-width: 1100px) { .sgrid.two { grid-template-columns: 1fr; } }


.faq-one { grid-template-columns: 1fr; }
.faq-one .faq-list { max-width: 880px; }
.faq-from { margin-top: 10px; }
.faq-from .link-arrow { font-size: 14.5px; }
.faq-search { display: grid; gap: 6px; max-width: 460px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--navy); }
.faq-none { margin-top: 12px; color: var(--muted); }

.faq-count { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.faq-count:empty { margin: 0; }


.ck-bar { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin-inline-start: auto; padding: 18px 20px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); color: var(--text); font-size: 14.5px; line-height: 1.5; }
.ck-bar[hidden] { display: none; }
.ck-bar h2 { font-size: 17px; margin: 0 0 6px; color: var(--navy); }
.ck-bar p { margin: 0 0 12px; color: var(--muted); }
.ck-bar .ck-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-bar .btn { padding: 11px 16px; font-size: 14.5px; }
.ck-bar .ck-opts { display: grid; gap: 10px; margin: 0 0 12px; }
.ck-bar .ck-opts[hidden] { display: none; }
.ck-open { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }
.ck-bar:focus { outline: none; }  

@media (max-width: 640px) {
  .ck-bar { inset-inline: 10px; bottom: 10px; max-height: calc(100vh - 20px); overflow-y: auto; padding: 14px 14px 12px; font-size: 14px; line-height: 1.45; }
  .ck-bar h2 { font-size: 16px; margin-bottom: 4px; }
  .ck-bar p { margin-bottom: 10px; }
  .ck-bar:not(.is-open) .ck-more { display: none; }
  .ck-bar .ck-btns { flex-wrap: nowrap; gap: 6px; }
  .ck-bar .btn { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 8px 4px; font-size: 14px; line-height: 1.2; white-space: normal; text-align: center; }
}
html.ck-shown .mbar, html.ck-shown .wa-float { visibility: hidden; }


.rform .qdone .tick { width: 56px; flex: 0 0 56px; }
.qdone:focus { outline: none; }  




@media (max-width: 359px) {
  header.site .wrap { gap: 8px; padding-inline: 12px; }
  header.site .hdr-actions { gap: 8px; }
  header.site .lang { width: 42px; height: 42px; padding: 0; justify-content: center; gap: 0; font-size: 0; }
}

header.site .endorse img { align-self: flex-start; }


@media (max-width: 640px), (hover: none) and (pointer: coarse) {
  .input, textarea.input { font-size: 16px; }
}


@media (max-width: 640px) {
  table.prices td.uk::before { content: "UK clinics, per eye: "; }
  table.prices td.ours:not(.pkc)::after { content: "per eye"; display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
  :lang(uk) table.prices td.uk::before { content: "Клініки Великої Британії, за одне око: "; }
  :lang(uk) table.prices td.ours:not(.pkc)::after { content: "за одне око"; }
}


@media (max-width: 1100px) {
  .faq-grid, .price-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .incl-cols, .incl-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 359px) {
  .incl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .incl-grid li { overflow-wrap: anywhere; hyphens: auto; }
}
@media (max-width: 640px) {
  .channels, .cgrid, .fit { grid-template-columns: minmax(0, 1fr); }
  .sec-head .link-arrow { white-space: normal; }
}
@media (max-width: 359px) {
  .ctas .btn, .check .btn, .channel .btn, .coord .btn { white-space: normal; line-height: 1.25; text-align: center; }
  .channel .btn { max-width: 100%; }
  .fit-card li a { white-space: normal; }
}


:lang(uk) ol.jsteps li { grid-template-columns: 108px 1fr; }


:root { --wa: #0E7A40; }
:focus-visible, .consent input:focus-visible + i, .need-opt input:focus-visible + .box { outline-color: var(--teal); }
.tcard:has(.card-link:focus-visible), .doc:has(.card-link:focus-visible), .story:has(.story-hit:focus-visible) { outline-color: var(--teal); }


.js .hero [data-enter] { animation-duration: .5s; animation-delay: calc(var(--d, 0) * 40ms); }
.js .hero h1[data-enter], .js .hero .ctas[data-enter] { animation-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .js .hero [data-enter] { animation-duration: .3s; animation-delay: 0s; } }


@media (max-width: 640px) {
  .f-top ul { gap: 0; }
  .f-top ul a { display: block; padding: 8px 0; }
  .f-langs a { padding-block: 8px; margin-block: -8px; }
  .link-arrow { position: relative; }
  .link-arrow::before { content: ""; position: absolute; inset: -10px 0; }
  .seg button::after, .cur button::after { content: ""; position: absolute; inset: -6px 0; }
  header.site .endorse { position: relative; }
  header.site .endorse::after { content: ""; position: absolute; inset: -5px 0; }
  .consent, .f-legal { font-size: 14px; }
}


.qform legend.qstep { width: 100%; }          
.stat b.hl { white-space: nowrap; }           
.f-legal p { max-width: 90ch; }               
@media (min-width: 641px) and (max-width: 900px) {
  .util .wrap > span:last-child { display: none; }   
}
:lang(uk) .f-top .parent span { max-width: 12ch; }   


@media (max-width: 1100px) {
  .phero:has(.faq-search input:not(:placeholder-shown)) .phero-photo { display: none; }
}


.tcard > .ico { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px; background: var(--iris-50); color: var(--teal); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; transition: background-color .25s ease, color .25s ease; }
.tcard > .ico svg { width: 24px; height: 24px; }
.tcard.hero-t > .ico { background: #fff; box-shadow: inset 0 0 0 1px #BFD9E3; }
.tcard > .go { top: 24px; bottom: auto; inset-inline-end: 24px; width: 36px; height: 36px; opacity: 1; transform: none; background: var(--surface); color: var(--teal); box-shadow: none; pointer-events: none; transition: background-color .25s ease, color .25s ease, transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tcard:hover > .ico { background: var(--teal); color: #fff; box-shadow: none; }
  .tcard:hover > .go { background: var(--navy); color: #fff; transform: translateX(2px); }
}
@media (prefers-reduced-motion: reduce) { .tcard:hover > .go { transform: none; } }
.mega-item > .ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; background: var(--iris-50); color: var(--teal); display: flex; align-items: center; justify-content: center; transition: background-color .15s ease, color .15s ease; }
.mega-item[aria-current] > .ico { background: var(--teal); color: #fff; }
@media (hover: hover) and (pointer: fine) { .mega-item:hover > .ico { background: var(--teal); color: #fff; } }


a.wa-float { inset-inline-end: max(24px, calc((100vw - var(--max)) / 2 - 56px)); background: linear-gradient(145deg, #25C063 0%, #1DA851 55%, #15863F 100%); box-shadow: 0 10px 28px rgba(29,168,81,.45), inset 0 1px 0 rgba(255,255,255,.28); }
a.wa-float::before, a.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1DA851; z-index: -1; opacity: 0; pointer-events: none; }
a.wa-float > svg { position: relative; transform-origin: 50% 60%; }
a.wa-float .wa-label { padding: 10px 14px 10px 30px; box-shadow: 0 8px 22px rgba(12,27,51,.22); }
a.wa-float .wa-label::before { content: ""; position: absolute; inset-inline-start: 13px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #3DDC7F; }
a.wa-float .wa-label::after { content: ""; position: absolute; inset-inline-end: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: var(--navy); transform: rotate(45deg); border-radius: 2px; }
@keyframes wa-label-peek { 0% { opacity: 0; transform: translate(10px, -50%); } 8%, 88% { opacity: 1; transform: translate(0, -50%); } 100% { opacity: 0; transform: translate(6px, -50%); } }
a.wa-float.is-shown .wa-label { animation: wa-label-peek 7s var(--ease-out) .7s 1 both; }
@media (hover: hover) and (pointer: fine) {
  a.wa-float.is-shown:hover { transform: scale(1.08); }
  a.wa-float.is-shown:hover .wa-label { animation: none; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes wa-ring { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
  @keyframes wa-shake { 0%, 84%, 100% { transform: rotate(0); } 87% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } 93% { transform: rotate(-8deg); } 96% { transform: rotate(5deg); } }
  a.wa-float.is-shown::before { animation: wa-ring 2.6s cubic-bezier(.2,.6,.3,1) infinite; }
  a.wa-float.is-shown::after { animation: wa-ring 2.6s cubic-bezier(.2,.6,.3,1) 1.3s infinite; }
  a.wa-float.is-shown > svg { animation: wa-shake 6s ease-in-out 2s infinite; }
  a.wa-float.is-shown:hover::before, a.wa-float.is-shown:hover::after { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  @keyframes wa-label-peek { 0%, 100% { opacity: 0; } 8%, 88% { opacity: 1; } }
  a.wa-float.is-shown:hover { transform: none; }
}
@media (max-width: 640px) { a.wa-float { inset-inline-end: 16px; } }


.need-opt .nico { flex: 0 0 auto; width: 38px; height: 38px; margin-bottom: 8px; border-radius: 11px; background: var(--iris-50); color: var(--teal); display: flex; align-items: center; justify-content: center; transition: background-color .2s ease, color .2s ease; }
.need-opt .box { padding: 14px; }
.need-opt input:checked + .box .nico { background: var(--teal); color: #fff; }
@media (hover: hover) and (pointer: fine) { .need-opt:hover .nico { background: var(--teal); color: #fff; } }
@media (max-width: 640px) { .need-opt .nico { width: 34px; height: 34px; margin-bottom: 6px; } }
