:root {
  --header-h: 75px;
}
html { scroll-padding-top: calc(var(--header-h) + .75rem); }
section[id] { scroll-margin-top: 0; }
.header { position: sticky; top: 0; z-index: 20; box-shadow: 0 6px 24px #07182c09; }
.nav { min-height: 4.65rem; }
.topline { background: #ebf8fa; }
.clinic-hero {
  position: relative; isolation: isolate; display: grid; align-items: center; overflow: hidden;
  min-height: clamp(30rem, 44vw, 40rem); padding-block: clamp(2.5rem, 6vw, 5rem);
  background: #051424; color: #f2f9ff;
}
.clinic-hero-image { position: absolute; z-index: -1; inset: 0; margin: 0; }
.clinic-hero-image picture, .clinic-hero-image img { display: block; width: 100%; height: 100%; }
.clinic-hero-image img { object-fit: cover; object-position: right 43%; }
.clinic-hero-image .motion-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 43%;
}
.clinic-hero-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #051424fa 0%, #051424eb 23%, #051424b3 37%, #05142430 58%, transparent 79%);
}
.clinic-hero-image figcaption {
  position: absolute; z-index: 1; right: max(1rem, calc((100% - 73rem) / 2)); bottom: 1rem;
  padding: .25rem .5rem; border-radius: .35rem; background: #071827c9; color: #e3f4fc; font-size: .75rem;
}
.clinic-hero-copy { max-width: 41rem; }
.clinic-hero-copy .eyebrow { margin-bottom: .95rem; color: #91f0f3; }
.clinic-hero-copy h1 { max-width: none; font-size: clamp(2.8rem, 5.4vw, 5.6rem); letter-spacing: -.06em; line-height: 1.04; }
.clinic-hero-copy h1 em { color: #93e9f6; font-style: normal; }
.clinic-hero-description { max-width: 38ch; margin: 1rem 0 1.4rem; color: #e2edf6; font-size: clamp(1rem, 1.5vw, 1.125rem); }
.clinic-hero :focus-visible { outline-color: #a8f6f7; }
.od-primary { color: #072239; background: #92eef3; border-color: #a6f6f9; box-shadow: 0 0 22px #48d9eb38; }
.od-primary:hover { background: #c4fbff; }
.od-secondary { color: #e9faff; background: #12334e80; border-color: #6c9dba9e; }
.od-secondary:hover { background: #1d4567; }
@media (max-width: 43rem) {
  .clinic-hero { min-height: 0; padding-block: 0 1.65rem; }
  .clinic-hero-image { position: relative; }
  .clinic-hero-image picture { height: clamp(14rem, 53vw, 20rem); }
  .clinic-hero-image img { object-position: right 34%; }
  .clinic-hero-image .motion-video { object-position: 90% 28%; }
  .clinic-hero-image::after { background: linear-gradient(0deg, #051424 0%, transparent 31%); }
  .clinic-hero-image figcaption { bottom: auto; top: .65rem; left: 1rem; right: auto; }
  .clinic-hero-copy h1 { font-size: clamp(2.1rem, 8.7vw, 4rem); }
  .clinic-hero-description { margin-block: .85rem 1.1rem; }
}
.agenda { background: radial-gradient(ellipse at 1% 0%, #e7f8fb, transparent 55%), #f8fcfe; }
.booking { background: #fff; box-shadow: 0 16px 44px #173f6219; }
.steps { gap: .35rem; }
.steps li { font-size: .86rem; }
.agenda .select-label + .select-wrap + .select-label { margin-top: .85rem; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin: 1rem 0 0; padding: 0; border: 0; }
.pay-methods legend { font-weight: 700; margin-bottom: .45rem; font-size: .95rem; }
.pay-method { display: flex; gap: .46rem; align-items: flex-start; padding: .75rem .65rem; border: 1px solid #c2d7e1; border-radius: .7rem; cursor: pointer; }
.pay-method:has(input:checked) { border-color: var(--navy); background: #edf6ff; }
.pay-method input { accent-color: var(--navy); margin: .3rem 0 0; }
.pay-method strong, .pay-method small { display: block; }
.pay-method small { color: var(--muted); font-size: .84rem; line-height: 1.35; margin-top: .18rem; }
.pay-quote div:last-child { color: var(--navy); }
.pay-quote div:last-child dd { font-size: 1.12rem; }
.visit-photo { width: 100%; aspect-ratio: 2/1; margin-bottom: .9rem; object-fit: cover; object-position: 50% 37%; border-radius: .75rem; }
@media (max-width: 52rem) {
  .steps li { font-size: .78rem; gap: .22rem; }
  .steps li span { width: 1.3rem; height: 1.3rem; }
}
@media (max-width: 43rem) {
  .nav { min-height: 4.4rem; }
  .agenda-layout, .lower-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 26rem) {
  .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps li { flex-direction: column; align-items: flex-start; font-size: .76rem; }
  .pay-method { padding: .65rem .45rem; }
}
.team { background: linear-gradient(150deg, #effbfc 0%, #f9fcfe 62%); border-block: 1px solid #d9edf2; }
.team-intro { display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; margin-bottom: 1.65rem; }
.team-intro > p { max-width: 35ch; color: var(--muted); margin: 0; }
.team-status { color: var(--muted); font-size: .92rem; margin: -.4rem 0 1.15rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.05rem; }
.team-card { min-width: 0; display: flex; flex-direction: column; border-radius: 1.15rem; border: 1px solid #cee5ed; box-shadow: 0 16px 34px #1152670d; background: #fff; overflow: hidden; }
.team-media { position: relative; isolation: isolate; overflow: hidden; margin: 0; aspect-ratio: 1.7; background: radial-gradient(ellipse at 55% 50%, #f6ffff 0%, #d7eef2 39%, #e2f3f5 80%); }
.team-card:nth-child(2n) .team-media { background: radial-gradient(ellipse at 52% 50%, #f7fbff 0%, #dbe9ff 40%, #e7f3fb 85%); }
.team-media img { width: 100%; height: 100%; object-position: center 34%; object-fit: cover; position: absolute; inset: 0; z-index: 2; }
.team-media .portrait-placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.portrait-placeholder::before {
  content: ''; width: 7rem; aspect-ratio: 1; border-radius: 50%; position: absolute;
  border: 1px solid #9bc4d56b; box-shadow: 0 0 0 1rem #fff4, 0 0 0 2rem #fff2;
}
.portrait-symbol { position: relative; width: 4.25rem; height: 4.55rem; opacity: .72; }
.portrait-symbol::before, .portrait-symbol::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); background: linear-gradient(145deg, #82c0cc, #3f8d9f); }
.portrait-symbol::before { width: 45%; height: 44%; top: 5%; border-radius: 50%; }
.portrait-symbol::after { width: 89%; height: 42%; bottom: 7%; border-radius: 55% 55% 14% 14% / 85% 85% 18% 18%; }
.team-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 1.2rem 1.25rem 1.25rem; }
.team-body .specialty { color: var(--teal); font-size: .875rem; font-weight: 720; margin: 0 0 .3rem; }
.team-body h3 { font-size: 1.45rem; letter-spacing: -.03em; }
.team-body .biography { margin: .5rem 0 .9rem; color: var(--muted); }
.team-body .credential { margin: 0 0 .9rem; font-size: .875rem; color: var(--muted); }
.team-body .button { margin-top: auto; min-height: 2.7rem; }
.team-body h3:has(+ .button) { margin-bottom: .8rem; }
@media (max-width: 56rem) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 43rem) {
  .team-intro { align-items: start; flex-direction: column; gap: .6rem; }
}
@media (max-width: 32rem) {
  .team-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 43rem) {
  .nav nav {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    gap: .4rem;
  }
  .nav nav a { font-size: clamp(.78rem, 3.3vw, .88rem); white-space: nowrap; }
}

.service-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.35rem; }
.service-filters button {
  min-height: 2.55rem; padding: .45rem .9rem; border-radius: 999px;
  border: 1px solid #b9d6e1; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 690;
}
.service-filters button:hover { border-color: var(--teal); background: #ebfafb; }
.service-filters button[aria-pressed="true"] { background: #013ca6; border-color: #013ca6; color: #fff; }
.service-support { margin-top: 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 1rem; padding: 1rem 1.2rem; background: #fff; }
.service-support h3 { font-size: 1.09rem; }
.service-support p { margin: .32rem 0 0; color: var(--muted); }

.section { padding-block: clamp(2.5rem, 4.55vw, 4.45rem); }
.agenda .visit-shortcut { margin-top: 1rem; }
.visit { background: #fff; }
.visit-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.75rem, 4.5vw, 4.5rem); align-items: center; }
.visit-steps { display: grid; gap: .8rem; margin: 1.25rem 0 1.35rem; padding: 0; list-style: none; counter-reset: visit-step; }
.visit-steps li { display: grid; grid-template-columns: 2.15rem 1fr; gap: .78rem; align-items: start; counter-increment: visit-step; }
.visit-steps li::before { content: counter(visit-step); display: grid; place-items: center; width: 2.05rem; height: 2.05rem; background: #e4f6f8; color: #05616d; border-radius: .65rem; font-weight: 750; }
.visit-steps h3 { margin: .06rem 0 .18rem; }
.visit .visit-steps p { margin: 0; max-width: 58ch; }
.visit-visual { margin: 0; overflow: hidden; border-radius: 1.25rem; border: 1px solid #d4e7ed; box-shadow: 0 13px 35px #11294912; }
.visit-visual .visit-photo { display: block; width: 100%; height: auto; margin: 0; aspect-ratio: 1.77; border-radius: 0; object-position: 50% 35%; }
.visit-visual figcaption { padding: .95rem 1rem 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; }
.visit-location { display: flex; align-items: flex-start; gap: .55rem; }
.visit-location .icon { color: var(--teal); margin-top: .12rem; }
.visit .visit-location p { margin: .15rem 0 0; font-size: .92rem; }
.faq .section-contact { margin: .9rem 0 1rem; max-width: 37ch; color: var(--muted); }
.site-footer { padding: 2.7rem 0 0; background: #07192c; color: #e6f3fc; border: 0; }
.footer-grid { display: grid; grid-template-columns: 1.18fr .84fr .94fr 1fr; align-items: start; gap: 1.65rem 1.2rem; }
.footer-grid h2 { margin: 0 0 .62rem; color: #f1f9ff; font-size: 1.08rem; letter-spacing: -.01em; }
.footer-grid nav, .footer-links { display: flex; flex-direction: column; gap: .45rem; }
.footer-grid nav h2, .footer-links h2 { margin-bottom: .17rem; }
.footer-grid a:not(.button):not(.footer-logo) { color: #d8f1fc; text-decoration-thickness: 1px; text-underline-offset: .25em; font-size: .94rem; }
.footer-grid a:not(.button):not(.footer-logo):hover { color: #91f0f3; }
.footer-logo { display: inline-flex; padding: .45rem .6rem; align-items: center; border-radius: .7rem; background: #fff; }
.footer-logo img { width: 10.6rem; height: auto; }
.footer-brand-block p { margin: .65rem 0 .85rem; color: #d1e6f4; }
.footer-brand-block .button { min-height: 2.65rem; }
.footer-location address { font-style: normal; font-size: .94rem; color: #cbdfee; margin-bottom: .5rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 2rem; padding-block: .95rem; border-top: 1px solid #678aab51; color: #bccfdc; font-size: .86rem; }
.floating-actions {
  position: fixed; z-index: 25; bottom: max(.9rem, env(safe-area-inset-bottom)); right: max(.9rem, env(safe-area-inset-right));
  display: flex; align-items: flex-end; flex-direction: column; gap: .55rem; pointer-events: none;
}
.floating-action { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.9rem; padding: .5rem .75rem; border: 1px solid #d3e8e5; border-radius: .8rem; text-decoration: none; font-size: .88rem; font-weight: 750; pointer-events: auto; box-shadow: 0 7px 24px #071e3a34; }
.floating-action .icon { width: 1.4rem; height: 1.4rem; }
.floating-whatsapp { background: #16774a; border-color: #b5efd5; color: #fff; }
.floating-whatsapp:hover { background: #0d603a; }
.floating-home { background: #fff; border-color: #b5cddd; color: var(--navy); }
.floating-home:hover { background: #e7f5fc; }
@media (max-width: 52rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 43rem) {
  html { scroll-padding-bottom: 5rem; }
  .visit-layout { grid-template-columns: minmax(0, 1fr); }
  .floating-actions { right: .6rem; bottom: max(.65rem, env(safe-area-inset-bottom)); gap: .4rem; }
  .floating-action { width: 2.8rem; min-height: 2.8rem; justify-content: center; padding: 0; }
  .floating-action span { display: none; }
  .footer-base { padding-right: 3rem; }
}
@media (max-width: 24rem) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-base { padding-bottom: 1.4rem; }
}

@media (min-width: 44rem) and (max-width: 91rem) { .footer-base { padding-inline-end: 7rem; } }

.footer-base a { color: #d8f1fc; text-underline-offset: .23em; }

.clinic-contact { align-items: center; }
.clinic-contact-card { background: #fff; border: 1px solid #d2e6ed; border-radius: 1rem; box-shadow: 0 10px 30px #1c567512; padding: clamp(1rem, 3vw, 1.6rem); }
.clinic-contact-card h3 { font-size: 1.45rem; margin-bottom: .85rem; }
.clinic-contact-card .button { margin-top: .9rem; }
.team-body .treatment-icon { margin-bottom: .85rem; }
.topline a { text-underline-offset: .2em; }

.service-banner {
  isolation: isolate; position: relative; display: grid; align-items: center;
  overflow: hidden; min-height: clamp(20rem, 31vw, 29rem);
  background: #081a2c; color: #f5fbff; border-radius: clamp(.9rem, 2vw, 1.5rem);
}
.service-banner img, .service-banner .motion-video, .service-banner::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.service-banner img, .service-banner .motion-video { z-index: -2; object-fit: cover; object-position: 61% 34%; }
.service-banner::before { content: ''; z-index: -1; background: linear-gradient(90deg, #061525f9 0%, #061525e8 33%, #06152552 61%, transparent 83%); }
.service-banner-copy { width: min(54%, 34rem); padding: clamp(1.35rem, 4vw, 3.4rem); }
.service-banner h3, .service-banner h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
.service-banner p:not(.eyebrow) { color: #e5eff7; margin: .85rem 0 1.25rem; max-width: 43ch; }
.service-banner .eyebrow { color: #a6ebef; margin-bottom: .68rem; }
.service-banner :focus-visible { outline-color: #90edf7; }
.service-banner-ortho { margin: 0 0 1.35rem; }
.service-banner-ortho img, .service-banner-ortho .motion-video { object-position: 76% 38%; }
.company-services { background: #fff; }
@media (max-width: 50rem) {
  .service-banner-copy { width: min(62%, 33rem); }
}
@media (max-width: 43rem) {
  .service-banner { align-items: end; min-height: 0; }
  .service-banner img, .service-banner .motion-video { height: 16rem; object-position: 90% 32%; }
  .service-banner-ortho img, .service-banner-ortho .motion-video { object-position: 96% 37%; }
  .service-banner::before { background: linear-gradient(0deg, #061525 36%, #061525ed 48%, #06152569 61%, transparent 83%); }
  .service-banner-copy { width: 100%; padding: 10.9rem 1rem 1.15rem; }
  .service-banner h2, .service-banner h3 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .service-banner .eyebrow { font-size: .79rem; max-width: 28ch; }
}

.specialist-photo{width:100%;height:auto;aspect-ratio:1.6;object-fit:cover;object-position:center 32%}

.motion-video {
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.motion-video.video-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .motion-video { transition: none; }
}
.video-play-toggle {
  position: absolute; z-index: 4; top: .85rem; right: .85rem; border: 1px solid #a8d1e160;
  padding: .4rem .65rem; min-height: 2.15rem; border-radius: .5rem;
  background: #09192cde; color: #f0f8fc; font-size: .81rem; font-weight: 660;
}
.video-play-toggle:hover { background: #173c55; }
.video-play-toggle:focus-visible { outline-color: #92edf3; }
.implant-feature {
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center;
  gap: clamp(1rem,4vw,3rem); padding: clamp(1.2rem,4vw,3.15rem); margin-top: 1.4rem;
  border-radius: clamp(.9rem,2vw,1.5rem); color: #f2f9fe;
  background: radial-gradient(ellipse at 75% 40%, #163852, transparent 59%),#09192c;
}
.implant-copy h3 { font-size: clamp(2.2rem,4.4vw,3.9rem); }
.implant-copy .eyebrow { color: #a6ebef; }
.implant-copy p:not(.eyebrow) { color: #d9e9f4; max-width: 41ch; margin: .85rem 0 1.25rem; }
.implant-reference { margin: 0; width: min(100%,640px); justify-self: center; }
.implant-reference video {
  display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain;
  background: #050e1b; border-radius: .8rem; border: 1px solid #8ab8d240;
}
.implant-reference figcaption {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  font-size: .85rem; color: #bdd5e4; margin-top: .45rem;
}
.implant-reference .video-play-inline { position: static; }
@media (max-width: 43rem) {
  .implant-feature { grid-template-columns: minmax(0, 1fr); gap: 1.15rem; }
}
