/* Mobile first screen: preserve the normal page scroll and pinch zoom. */
@media (max-width:680px) and (orientation:portrait) {
  .site-shell.is-home .source-slider.task22-firstslide {
    box-sizing:border-box; width:100%; min-width:0;
    height:max(294px,calc(100vh - var(--dp-hero-top,163px)))!important;
    height:max(294px,calc(100svh - var(--dp-hero-top,163px)))!important;
    min-height:0!important; overflow:hidden; contain:inline-size;
  }
  .site-shell.is-home .source-slider.task22-firstslide .source-slider-slide {
    box-sizing:border-box; width:100%; min-width:0; height:100%!important;
    min-height:0!important; overflow:hidden; inset:0;
  }
  .site-shell.is-home .source-slider.task22-firstslide .dp12-hero-slide.is-active {
    position:absolute; inset:0; display:grid;
    grid-template-rows:minmax(0,1fr) auto; padding-bottom:50px;
  }
  .site-shell.is-home .task22-firstslide .dp12-hero-stage {
    min-height:0; height:100%; aspect-ratio:auto; container-type:size;
    background:radial-gradient(ellipse at center,#36545a,#183d48 78%);
  }
  .site-shell.is-home .task22-firstslide .dp12-hero-stage img {object-fit:contain}
  .site-shell.is-home .task22-firstslide .dp12-hero-stage canvas {
    width:min(100%,64.516cqh); left:50%; transform:translateX(-50%);
    touch-action:pan-y pinch-zoom;
  }
  .site-shell.is-home .task22-firstslide .dp12-hero-actions {
    display:grid; gap:4px; padding:6px 12px 0;
  }
  .site-shell.is-home .task22-firstslide .dp12-hero-links {
    display:grid; grid-template-columns:minmax(0,0.8fr) minmax(0,1.2fr); gap:6px;
  }
  .site-shell.is-home .task22-firstslide .dp12-hero-tools {
    display:flex; flex-wrap:nowrap; margin:0; gap:8px;
  }
  .site-shell.is-home .task22-firstslide .dp12-cta,
  .site-shell.is-home .task22-firstslide .dp12-motion {
    box-sizing:border-box; min-height:44px; padding:3px 6px; font-size:.75rem;
    line-height:1.15; white-space:normal; text-align:center;
  }
  .site-shell.is-home .task22-firstslide .dp12-hero-rating {min-height:44px; gap:6px}
  .site-shell.is-home .task22-firstslide .dp12-hero-rating strong {font-size:1.35rem}
  .site-shell.is-home .task22-firstslide .source-slider-slide:not(.dp12-hero-slide) .source-slider-stage {
    position:relative; height:100%!important; min-height:0!important;
    padding-bottom:50px; display:flex; flex-direction:column; box-sizing:border-box;
  }
  .site-shell.is-home .task22-firstslide .source-slider-slide:not(.dp12-hero-slide) .source-slider-copy {
    position:relative!important; inset:auto!important; height:auto!important;
    min-height:0; width:100%!important; padding:12px 16px 3px!important;
    gap:4px; z-index:2; flex:0 0 auto;
  }
  .site-shell.is-home .task22-firstslide .source-slider-slide:not(.dp12-hero-slide) .source-slider-copy :is(h2,p,a){
    box-sizing:border-box; position:static!important; width:auto!important; min-width:0;
    max-width:100%; margin:0!important; line-height:1.2; white-space:normal;
  }
  .site-shell.is-home .task22-firstslide .source-slider-slide:not(.dp12-hero-slide) .source-slider-title {
    font-size:clamp(22px,6.1vw,30px)!important;
  }
  .site-shell.is-home .task22-firstslide .source-slider-slide:not(.dp12-hero-slide) :is(.source-slider-lead,.source-slider-meta) {
    font-size:clamp(12px,3.55vw,16px)!important;
  }
  .site-shell.is-home .task22-firstslide .source-slider-slide:not(.dp12-hero-slide) .source-slider-button {
    font-size:13px!important; display:inline-flex; align-items:center;
    padding:5px 12px; min-height:44px;
  }
  .site-shell.is-home .task22-firstslide .source-slider-slide:not(.dp12-hero-slide) .source-slider-figure {
    flex:1 1 0; min-height:0; max-width:100%; width:100%!important; height:0!important;
    position:static!important; transform:none!important; margin:0; object-fit:contain; object-position:bottom center;
    align-self:center;
  }
  .site-shell.is-home .task22-firstslide>.source-slider-arrow {
    top:auto!important; bottom:3px!important; width:44px; height:44px;
    transform:none!important; z-index:5;
  }
  .site-shell.is-home .task22-firstslide>.source-slider-prev {left:12px;right:auto}
  .site-shell.is-home .task22-firstslide>.source-slider-next {left:62px;right:auto}
  .site-shell.is-home .task22-firstslide>.source-slider-timer {
    top:auto!important; right:12px!important; bottom:3px!important; width:44px; height:44px; z-index:5;
  }
}


@media (max-width:760px) {
  /* Clip the treatment card's decoration in its own box before JS hydration. */
  .treatment-safety-card {position:relative;max-inline-size:100%; min-inline-size:0;box-sizing:border-box;overflow:hidden;contain:paint}
  .mobile-nav-actions > a[href^="tel:"], .footer-phone[href^="tel:"] {display:inline-flex;align-items:center;gap:.45em}
  .mobile-nav-actions > a[href^="tel:"]::before, .footer-phone[href^="tel:"]::before {
    content:""; display:block; flex:none; width:1.05em; height:1.05em; background:currentColor;
    -webkit-mask:var(--dp-phone-symbol) center / contain no-repeat;
    mask:var(--dp-phone-symbol) center / contain no-repeat;
    --dp-phone-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 2.8 9 7.1 7.5 8.6c1.1 2.3 2.9 4.1 5.2 5.2l1.5-1.5 4.3 2.4-.8 3.1c-.2.7-.8 1.2-1.6 1.2C8.9 19 3 13.1 3 5.9c0-.7.5-1.4 1.2-1.6z'/%3E%3C/svg%3E");
  }
  .floating-contact button.floating-contact-toggle {width:44px;min-width:44px;height:44px;min-height:44px}
  .floating-contact :is(.floating-contact-toggle,.floating-contact-phone) svg {width:24px;height:24px;flex:none}
  .site-shell :is(input:not([type]),input[type=text],input[type=tel],input[type=email],input[type=search],input[type=number],textarea,select):focus {font-size:max(16px,1em)}
}
@media (max-width:680px) and (orientation:portrait) {
  .site-shell.is-home .task22-firstslide>.source-slider-timer {left:112px!important;right:auto!important}
  .site-shell.is-home .task22-firstslide .dp12-hero-stage :is(picture,canvas) {touch-action:pan-y pinch-zoom}
  .site-shell.is-home .task22-firstslide .dp12-hero-actions {padding-inline:max(12px,env(safe-area-inset-left))}
  .site-shell.is-home .source-slider.task22-firstslide:focus-within {scroll-margin-top:0}
}
@media (max-width:359px) {
  .site-shell.is-home .task22-firstslide .dp12-hero-stage canvas {width:min(100%,58.621cqh)}
}

@media (max-width:760px) {
  .floating-contact-options>a>.floating-contact-glyph:last-child {display:grid; flex:none}
}
@media (max-width:680px) and (orientation:portrait) {
  .site-shell.is-home .task22-firstslide .dp12-hero-stage canvas {
    width:100%;height:100%;left:0;transform:none;
  }
}
@media (max-width:680px) and (orientation:portrait) {
  .site-shell.is-home .task22-firstslide .dp12-hero-actions {
    padding-right:max(52px,calc(44px + env(safe-area-inset-right)));
  }
  .floating-contact {right:max(4px,env(safe-area-inset-right))}
}

@media (max-width:680px) and (orientation:portrait) {
  /* Make room for the scene without dropping the warning, menu or booking controls. */
  .site-shell.is-home>.source-topbar .source-topbar-inner {min-height:34px;padding-block:4px}
  .site-shell.is-home>header .nav-row {min-height:62px;padding-block:7px}
  .site-shell.is-home>.medical-warning {padding-block:6px;line-height:1.28}
  .site-shell.is-home .task22-firstslide .dp12-hero-stage canvas {
    transform:scale(1.13);transform-origin:50% 63%;
  }
  .site-shell.is-home .task22-firstslide .dp12-hero-stage img {
    object-position:center 100%;
  }
  .site-shell.is-home .task22-firstslide .source-slider-slide:not(.dp12-hero-slide) .source-slider-stage {
    padding-bottom:0;
  }
  .site-shell.is-home .task22-firstslide .source-slider-slide:not(.dp12-hero-slide) .source-slider-copy {
    padding-right:52px!important;
  }
  .site-shell.is-home .task22-firstslide .source-slider-slide:not(.dp12-hero-slide) .source-slider-figure {
    position:absolute!important;inset:auto auto 0 50%!important;transform:translateX(-50%)!important;
    width:107%!important;max-width:none;height:clamp(135px,57%,390px)!important;
    object-fit:contain;object-position:center bottom;pointer-events:none;
  }
  .site-shell.is-home .task22-firstslide .source-slider-slide-3 .source-slider-figure {
    width:93%!important;height:clamp(135px,56%,380px)!important;
  }
  .site-shell.is-home .task22-firstslide .source-slider-slide-4 .source-slider-figure {
    width:132%!important;height:clamp(135px,49%,350px)!important;
  }
  .site-shell.is-home .task22-firstslide .source-slider-slide:not(.dp12-hero-slide) .source-slider-stage::after {
    content:"";pointer-events:none;position:absolute;inset:auto 0 0;height:55px;z-index:1;
    background:linear-gradient(transparent,rgba(8,24,31,.70));
  }
}


@media (max-width:680px) and (orientation:portrait) {
  .site-shell.is-home .task22-firstslide .dp12-hero-stage canvas {transform:translateY(7px) scale(1.16);transform-origin:50% 62%}
  .site-shell.is-home .task22-firstslide .source-slider-slide-4 .source-slider-figure {width:151%!important;height:clamp(135px,55%,370px)!important}
}
@media (max-width:680px) and (orientation:portrait) {
  /* The portrait original becomes too narrow in the compact viewport; keep the two people and lettering at usable size with the existing wide art. */
  .site-shell.is-home .task22-firstslide .dp12-hero-stage img {
    content:url("/assets/dp12-hero-poster-tablet-800-7791e68a761bf9d1.webp");
    object-fit:contain;object-position:center;
  }
}
