@import url('/assets/font.css');

:root {
  color-scheme: light;
  --ink: #111a35;
  --muted: #3c4962;
  --blue: #1742a5;
  --bright: #174cff;
  --pale: #eaf1fe;
  --line: #dde5f2;
  --footer: #101a33;
  --gutter: clamp(24px, 2.9vw, 46px);
  --main-top-gap: clamp(20px, 2.4vw, 34px);
  --desktop-header-height: 74px;
  --motion-quick: 145ms;
  --motion-panel: 185ms;
  --motion-ease: cubic-bezier(.2, .75, .3, 1);
  font: 400 100%/1.5 'Inter Variable', system-ui, sans-serif;
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #2462f5; outline-offset: 4px; }
main:focus { outline: none; }
h1, h2, h3, p, figure, dl { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.037em; text-wrap: pretty; }
h1 { font-size: clamp(2.45rem, 4.15vw, 3.65rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.5rem); font-weight: 760; }
h3 { font-size: 1.2rem; font-weight: 720; }
p { font-size: 1.05rem; line-height: 1.5; }
section[id] { scroll-margin-top: 24px; }
.wrap { max-width: 1424px; padding-inline: var(--gutter); margin-inline: auto; }
.icon { width: 26px; height: 26px; flex: 0 0 auto; vertical-align: middle; color: var(--bright); }
.skip { position: absolute; top: 10px; left: 12px; z-index: 5; padding: 12px 18px; border-radius: 8px; color: #fff; background: var(--blue); transform: translateY(-140%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid #edf0f6; }
.head { position: relative; display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); min-height: var(--desktop-header-height); }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand img { width: 180px; height: auto; flex: 0 0 auto; }
.site-footer .brand { align-self: center; }
.site-footer .brand img { filter: brightness(0) invert(1); }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 48px); margin-left: auto; }
.site-nav > a, .services-menu > summary { font-weight: 650; text-decoration: none; white-space: nowrap; padding-block: 30px 27px; border-bottom: 3px solid transparent; }
.site-nav > a:is(:hover,[aria-current]), .services-menu:has([aria-current]) > summary, .services-menu > summary:hover { border-color: var(--blue); }
.services-menu { position: relative; }
.services-menu > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.services-menu > summary::-webkit-details-marker { display: none; }
.services-caret { width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-2px) rotate(45deg); }
.services-menu[open] .services-caret { transform: translateY(2px) rotate(225deg); }
.services-menu-panel { position: absolute; inset: 100% 0 auto auto; z-index: 3; width: 590px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 16px 44px #1425511f; }
.services-menu-panel a { display: flex; align-items: center; min-height: 38px; padding: 6px 9px; border-radius: 7px; font-weight: 610; font-size: .9rem; line-height: 1.3; text-decoration: none; }
.services-menu-panel a:is(:hover,[aria-current]) { background: #edf4ff; color: var(--blue); }
.services-menu-panel .services-menu-all { justify-content: space-between; color: var(--blue); background: #f2f6fc; }
.services-menu-all .icon { width: 17px; height: 17px; }
.services-menu-groups { display: grid; grid-template-columns: .75fr 1.1fr 1fr; gap: 10px; padding-top: 12px; }
.services-menu-group p { padding: 4px 9px; color: var(--muted); font-size: .8rem; font-weight: 650; }
.services-menu-group ul { margin: 0; padding: 0; list-style: none; }
.languages { display: flex; align-items: center; gap: .42em; font-weight: 550; font-size: .875rem; white-space: nowrap; color: var(--muted); }
.languages strong { color: var(--blue); }
.languages [aria-disabled] { color: #56647c; }
@media (min-width: 1024px) and (max-width: 1179px) {
  .site-nav { gap: 15px; }
}
.btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: .63em 1.25em; background: var(--blue); color: white; font-size: 1rem; font-weight: 650; border-radius: 8px; text-decoration: none; line-height: 1.22; }
.btn:hover { background: #102f80; }
.menu-toggle[aria-expanded="true"] { border-color: #aec4e8; background: #edf4ff; }
.route-choice { white-space: nowrap; }
.route-choice .icon { width: 18px; height: 18px; color: currentColor; }
.route-waze { color: #174b8c; background: #eaf5ff; border: 1px solid #b0cbea; }
.route-waze:hover { color: #123b72; background: #dceeff; }
.header-cta { flex-shrink: 0; }
.menu-toggle { display: none; }
main { padding-top: var(--main-top-gap); padding-bottom: clamp(28px, 3.6vw, 49px); }
.hero { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: stretch; gap: 18px; border-radius: 15px; }
.hero-copy { align-self: center; padding: clamp(16px, 1.6vw, 25px) clamp(18px, 1.55vw, 26px); }
.hero-copy p { color: var(--muted); margin-top: 12px; max-width: 40ch; }
.hero-copy .btn { margin-top: clamp(16px, 2vw, 27px); }
.entrance { position: relative; overflow: hidden; background: var(--pale); border-radius: 13px; }
.entrance img { width: 100%; height: 100%; aspect-ratio: 1506 / 861; object-fit: contain; }
.entrance-callout { position: absolute; top: 63%; left: calc(6.4% - 6px); display: flex; align-items: center; max-width: 88%; transform: translateY(-50%); }
.entrance-pointer { display: flex; align-items: center; flex: 0 0 auto; filter: drop-shadow(0 1px 2px #101a3380); }
.entrance-pointer::before { content: ""; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: var(--blue); }
.entrance-pointer::after { content: ""; width: clamp(10px, 1.65vw, 26px); height: 2px; background: #fff; }
.entrance-callout p { padding: 6px 9px; border: 1px solid #d5e3f7; border-radius: 8px; background: #fff; color: #111a35; box-shadow: 0 2px 10px #101a3338; font-size: clamp(.75rem, 1.05vw, .875rem); line-height: 1.32; }
.entrance-callout strong, .entrance-callout p span { display: block; }
.entrance-callout p span { color: #3c4962; }
.image-credit { position: absolute; bottom: 4px; left: 8px; padding: 1px 5px; background: #101a33dc; color: white; border-radius: 3px; font-size: .75rem; }
.section { margin-top: clamp(22px, 2.7vw, 40px); }
.section > h2 { margin-bottom: 16px; }
.section-intro { color: var(--muted); margin: 10px 0 20px; }
.section > h2 + .section-intro { margin-top: -8px; }
.portrait { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: contain; border-radius: 12px; background: #adb3bc; }
.portrait-a { background: #aaa; }
.panel { padding: clamp(16px, 2.15vw, 31px); background: var(--pale); border-radius: 14px; min-width: 0; }
.panel > h2 { font-size: clamp(1.45rem, 2.5vw, 2.2rem); margin-bottom: 12px; }
.panel p { color: var(--muted); }
.panel .icon-list { font-size: 1.05rem; }
.panel-split, .columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.panel-split { gap: 0; }
.panel-split .panel { padding: 0 clamp(16px, 2.2vw, 32px); border-radius: 0; }
.panel-split .panel:first-child { padding-left: 0; border-right: 1px solid #cddaf0; }
.panel-split .panel:last-child { padding-right: 0; }
.icon-list { list-style: none; margin: 0; padding: 0; }
.icon-list li { display: flex; align-items: center; gap: 15px; padding: 9px 0; font-weight: 570; }
.icon-list li + li { border-top: 1px solid #d6e0f1; }
.icon-list .icon { width: 24px; height: 24px; }
.icon-list p { font-size: .95rem; margin-top: 3px; font-weight: 400; }
.map-embed { --map-height: 258px; position: relative; overflow: hidden; min-width: 0; border: 1px solid #d4e0f0; border-radius: 10px; background: #f5f8fd; }
.map-embed [hidden] { display: none; }
.map-placeholder { display: grid; align-content: center; justify-items: start; gap: 10px; min-height: var(--map-height); padding: clamp(14px, 2vw, 24px); }
.map-placeholder strong { display: block; font-size: 1.07rem; }
.map-placeholder p { max-width: 39ch; margin-top: 4px; color: var(--muted); font-size: .9rem; }
.map-placeholder .btn, .map-hide { cursor: pointer; }
.map-placeholder .btn { border: 0; }
.map-toolbar { display: flex; justify-content: flex-end; padding-inline: 10px; border-bottom: 1px solid #d4e0f0; background: #fff; }
.map-hide { min-height: 44px; padding-inline: 8px; border: 0; color: var(--blue); background: transparent; font: inherit; font-weight: 650; }
.map-hide:hover { text-decoration: underline; }
.map-loading { position: absolute; inset: 45px 0 0; display: grid; place-items: center; z-index: 1; color: var(--muted); pointer-events: none; }
.map-loading:not([hidden]) + iframe { opacity: 0; }
.map-embed iframe { display: block; width: 100%; height: calc(var(--map-height) - 45px); border: 0; }
.service-hero { background: linear-gradient(115deg, #eaf2ff, #e2ecfb); overflow: hidden; }
.page-start h1 { margin-bottom: 20px; }
.page-start h1 + .section-intro { margin-top: -10px; }
.service-hero { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; min-height: clamp(230px, 23vw, 324px); }
.service-hero .hero-copy { padding: clamp(22px, 3.2vw, 44px); }
.service-illustration { width: 100%; height: auto; max-height: 295px; object-fit: contain; }
.anchors { display: flex; gap: 12px 28px; align-items: center; flex-wrap: wrap; padding-block: 8px; border-bottom: 1px solid var(--line); color: var(--muted); }
.anchors a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 650; text-decoration: none; }
.anchors a:hover { text-decoration: underline; }
.service-price-link { grid-column: 1 / -1; justify-self: start; color: var(--blue); font-weight: 650; text-underline-offset: .2em; }
.panel-inline, .booking-bar { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 16px 28px; align-items: center; }
.panel-inline h2 { margin: 0; }
.panel-inline .icon-list { padding-left: 22px; border-left: 1px solid #cddaf0; }
.booking-bar { margin-top: clamp(24px, 3vw, 44px); padding: clamp(16px, 2.1vw, 30px); grid-template-columns: auto minmax(0,1fr) auto; border-radius: 12px; background: var(--pale); }
.booking-bar h2 { font-size: clamp(1.5rem, 2.8vw, 2.4rem); margin-bottom: 4px; }
.booking-bar p { color: var(--muted); }
.booking-bar > .icon { width: 38px; height: 38px; }
.booking-dark { background: linear-gradient(120deg,#223e7b,#173580); color: #fff; }
.booking-dark :is(.icon,p) { color: #fff; }
.booking-dark .btn { background: #fff; color: var(--blue); }
.booking-dark .btn:hover { background: #dbe8ff; }
.faq details { border: 1px solid var(--line); border-radius: 8px; margin-top: 8px; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; min-height: 46px; cursor: pointer; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 9px; height: 9px; flex: 0 0 auto; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details > div { padding: 0 16px 14px; color: var(--muted); }
.site-footer { color: #fff; background: var(--footer); border-top: 1px solid #263a60; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .68fr 1.04fr 1.12fr; align-items: start; gap: clamp(18px, 3vw, 44px); padding-block: clamp(30px, 4.3vw, 63px); }
.footer-grid > * { min-width: 0; }
.site-footer .footer-grid h2 { font-size: 1.05rem; letter-spacing: -.015em; margin: 0 0 9px; }
.footer-grid nav, .footer-contact { display: grid; grid-template-columns: minmax(0,1fr); justify-items: start; align-content: start; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid :is(nav,.footer-contact) a:not(.btn), .footer-operator { color: #d7e3f6; font-size: .96rem; overflow-wrap: anywhere; }
.footer-grid :is(nav,.footer-contact) a:not(.btn):hover, .footer-action:hover { text-decoration: underline; text-underline-offset: .22em; }
.footer-identity .brand { margin-bottom: 8px; }
.footer-identity > p { font-size: .96rem; }
.footer-operator { margin-top: 10px; }
.footer-contact p { color: #d7e3f6; font-size: .94rem; }
.footer-contact .icon { color: #b1cdf5; width: 19px; height: 19px; margin-right: 6px; }
.footer-contact .btn { margin-top: 5px; background: #e9f1ff; color: #13366a; }
.footer-contact .btn:hover { background: #cfdef9; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-block: 17px; border-top: 1px solid #496184; color: #c4d4eb; font-size: .875rem; }
.footer-action { display: inline-block; padding: 0; border: 0; background: transparent; color: var(--blue); text-align: left; font: inherit; cursor: pointer; }
.site-footer .footer-action { color: #d7e3f6; font-size: .96rem; }
.site-footer :is(a, button):focus-visible { outline-color: #b3d2fe; }

.legal-page { max-width: 790px; margin-inline: auto; }
.legal-heading { padding: clamp(18px, 3.5vw, 46px); background: #edf3fc; border: 1px solid var(--line); border-radius: 16px; }
.legal-heading p { margin-top: 13px; color: var(--muted); }
.legal-page > section { padding-block: clamp(19px, 2.4vw, 30px); border-bottom: 1px solid var(--line); }
.legal-page h2 { margin-bottom: 10px; font-size: clamp(1.32rem, 2.3vw, 1.8rem); }
.legal-page p + p { margin-top: 12px; }
.legal-page :is(a,.footer-action) { color: #1742a5; text-underline-offset: .22em; }
.legal-page .footer-action { min-height: 44px; text-decoration: underline; }
.operator-details { display: grid; gap: 8px; }
.operator-details > div { padding-block: 6px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.operator-details dt { color: var(--muted); font-size: .92rem; }
.operator-details dd { margin: 0; font-weight: 630; }
.operator-details + p { margin-top: 12px; }

.consent-dialog { width: min(490px, calc(100% - 28px)); padding: clamp(18px, 4vw, 30px); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); }
.consent-dialog::backdrop { background: #13243b79; }
.consent-dialog h2 { margin-bottom: 12px; font-size: clamp(1.5rem, 4vw, 2rem); }
.consent-dialog p { color: var(--muted); }
.consent-policy { display: inline-block; margin-block: 12px; color: var(--blue); text-underline-offset: .2em; }
.consent-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.consent-actions button { cursor: pointer; border: 0; }

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .head { min-height: 72px; gap: 10px; }
  .head .brand { margin-right: auto; }
  .head .brand img { width: 156px; }
  .menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 8px; border: 1px solid var(--line); background: white; cursor: pointer; }
  .site-nav { display: grid; gap: 0; position: absolute; z-index: 2; top: 100%; left: var(--gutter); right: var(--gutter); padding: 10px 16px; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 26px #14255121; visibility: hidden; pointer-events: none; }
  .site-nav.is-open { visibility: visible; pointer-events: auto; }
  .site-nav > a, .services-menu > summary { padding: 10px 6px; border-width: 1px; min-height: 44px; }
  .site-nav { max-height: calc(100dvh - 85px); overflow-y: auto; }
  .services-menu > summary { justify-content: space-between; }
  .services-menu-panel { position: static; width: auto; margin-block: 4px; padding: 7px; box-shadow: none; }
  .services-menu-groups { grid-template-columns: minmax(0,1fr); gap: 4px; padding-top: 6px; }
  .services-menu-panel a { min-height: 44px; }
}
@media (max-width: 767px) {
  :root { --gutter: 19px; }
  .hero,.columns { grid-template-columns: minmax(0,1fr); }
  .hero { gap: 10px; }
  .hero-copy { padding: 17px 10px 9px; }
  .service-hero { min-height: 0; gap: 0; }
  .service-hero .hero-copy { padding: 21px 18px 0; }
  .service-illustration { width: min(100%, 390px); max-height: 155px; justify-self: end; }
  .footer-grid { gap: 25px 14px; }
  .footer-grid :is(nav,.footer-contact) :is(a,button):not(.btn) { min-height: 44px; padding-block: 10px; }
}
@media (max-width: 479px) {
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid :is(.footer-identity,.footer-contact) { grid-column: 1 / -1; }
  .footer-grid .footer-contact { grid-row: 2; }
  :root { --gutter: 14px; --main-top-gap: 17px; }
  h1 { font-size: clamp(2.15rem, 9vw, 2.65rem); }
  .head { gap: 7px; min-height: 65px; }
  .head .brand img { width: clamp(126px, 37vw, 150px); }
  .header-cta { font-size: .875rem; padding-inline: 9px; gap: 5px; }
  .panel-split,.booking-bar,.panel-inline { grid-template-columns: minmax(0,1fr); }
  .panel-split .panel { padding: 0; }
  .panel-split .panel:first-child { border-right: 0; border-bottom: 1px solid #cddaf0; padding-bottom: 16px; }
  .panel-split .panel:last-child { padding-top: 16px; }
  .panel-inline .icon-list { padding-left: 0; border-left: 0; }
  .booking-bar { gap: 9px; }
  .booking-bar .btn { margin-top: 5px; }
  .anchors { gap: 0 16px; }
  .anchors > span { flex-basis: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  html { scroll-behavior: smooth; }
  ::view-transition { pointer-events: none; }
  ::view-transition-group(root) { animation-duration: 165ms; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-timing-function: ease-in-out; }

  :is(.btn, .menu-toggle, .site-nav > a, .services-menu > summary, .services-menu-panel a, .landing-shortcuts a,
      .landing-hero-address, .landing-team-link, .landing-text, .landing-doctor, .service-card a, .faq summary, .map-hide) {
    transition: background-color var(--motion-quick) ease, color var(--motion-quick) ease, border-color var(--motion-quick) ease,
      text-decoration-color var(--motion-quick) ease, box-shadow var(--motion-quick) ease, transform var(--motion-quick) var(--motion-ease);
  }
  :is(.btn, .menu-toggle):active { transform: translateY(1px); }
  .services-caret, .faq summary::after { transition: transform var(--motion-panel) var(--motion-ease); }
  .map-embed iframe { transition: opacity var(--motion-panel) ease; }
  .faq details[open] > div { animation: reveal-content var(--motion-panel) var(--motion-ease) both; }

  @media (min-width: 1024px) {
    .services-menu[open] .services-menu-panel { animation: reveal-content var(--motion-panel) var(--motion-ease) both; }
    @supports selector(details::details-content) {
      .services-menu::details-content {
        opacity: 0;
        transition: opacity var(--motion-panel) var(--motion-ease), content-visibility var(--motion-panel) allow-discrete;
      }
      .services-menu[open]::details-content { opacity: 1; }
      .services-menu[open] .services-menu-panel { animation: none; }
    }
  }

  @media (max-width: 1023px) {
    .site-nav {
      opacity: 0;
      transform: translateY(-5px);
      transition: opacity var(--motion-quick) ease, transform var(--motion-panel) var(--motion-ease),
        visibility var(--motion-panel);
    }
    .site-nav.is-open { opacity: 1; transform: translateY(0); }
    .services-menu[open] .services-menu-panel { animation: reveal-content var(--motion-panel) var(--motion-ease) both; }
  }

  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .faq details::details-content {
      interpolate-size: allow-keywords;
      block-size: 0;
      overflow: clip;
      opacity: 0;
      transition: block-size var(--motion-panel) var(--motion-ease), opacity var(--motion-quick) ease,
        content-visibility var(--motion-panel) allow-discrete;
    }
    .faq details[open]::details-content { block-size: auto; opacity: 1; }
    .faq details[open] > div { animation: none; }

    @media (max-width: 1023px) {
      .services-menu::details-content {
        interpolate-size: allow-keywords;
        block-size: 0;
        overflow: clip;
        opacity: 0;
        transition: block-size var(--motion-panel) var(--motion-ease), opacity var(--motion-quick) ease,
          content-visibility var(--motion-panel) allow-discrete;
      }
      .services-menu[open]::details-content { block-size: auto; opacity: 1; }
      .services-menu[open] .services-menu-panel { animation: none; }
    }
  }
}

@keyframes reveal-content {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
