/* Encabezado público MS Dental. Estilos limitados a esta navegación. */
:root{--ms-header-height:96px}
html{scroll-padding-top:calc(var(--ms-header-height) + 20px)}
.encabezado.ms-public-header{position:sticky;top:0;z-index:1000;height:auto;min-height:96px;padding:12px 5%;display:flex;flex-direction:row;flex-wrap:nowrap;gap:28px;background:#141715;border-bottom:1px solid #655633;box-shadow:0 5px 22px #0002}
.ms-public-header .ms-public-brand{flex-shrink:0;display:flex;align-items:center;gap:12px;text-decoration:none;color:#ead5a2}
.ms-public-brand img{display:block;width:60px;height:60px;object-fit:contain}
.ms-public-brand strong{font-size:18px;letter-spacing:3px;font-weight:500}
.ms-public-brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:6px;color:#c9c3b5}
.ms-public-header .ms-public-nav{display:flex;flex:1;justify-content:flex-end;align-items:center;gap:23px;width:auto;margin:0}
.ms-public-header .ms-public-nav>a,.ms-public-header summary{color:#f5f2e9;font:500 14px Arial,sans-serif;white-space:nowrap;text-decoration:none;padding:13px 0;cursor:pointer}
.ms-public-header .ms-public-nav>a:hover,.ms-public-header summary:hover,.ms-public-header summary[aria-expanded=true]{color:#e8c879}
.ms-public-header a:focus-visible,.ms-public-header summary:focus-visible{outline:2px solid #efd38f;outline-offset:5px;border-radius:3px}
.ms-public-header .ms-book{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 19px;border:1px solid #dfbd65;border-radius:7px;background:#dfbd65;color:#171914;font:600 14px Arial,sans-serif;text-decoration:none;white-space:nowrap;flex-shrink:0}
.ms-public-header .ms-book:hover{background:#f0d48e;color:#171914}
.ms-treatments{position:relative}
.ms-public-header summary{list-style:none;display:flex;align-items:center;gap:9px}
.ms-public-header summary::-webkit-details-marker{display:none}
.ms-chevron{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .15s;margin-top:-4px}
details[open]>summary .ms-chevron{transform:rotate(225deg);margin-top:4px}
.ms-treatment-links{position:absolute;top:calc(100% + 12px);left:-22px;min-width:290px;background:#1c201d;border:1px solid #655633;border-radius:0 0 12px 12px;box-shadow:0 18px 35px #0004;padding:8px 0;max-height:calc(100dvh - var(--ms-header-height) - 25px);overflow-y:auto}
.ms-public-header .ms-treatment-links a{display:block;padding:13px 22px;color:#f5f2e9;font-size:14px;line-height:1.4;text-decoration:none;border-bottom:1px solid #ffffff12}
.ms-public-header .ms-treatment-links a:last-child{border-bottom:0;color:#ebca7c}
.ms-public-header .ms-treatment-links a:hover,.ms-public-header .ms-treatment-links a:focus-visible{background:#323127;color:#f5d78d;outline-offset:-4px}
.ms-mobile-menu{display:contents}
.ms-public-header .ms-mobile-summary{display:none}
.tarjeta[id^=tratamiento-]:target{outline:2px solid #b08a20;outline-offset:5px}
@media(max-width:1120px){
 .encabezado.ms-public-header{min-height:80px;padding:10px 5%;gap:14px;flex-wrap:wrap}
 .ms-public-brand img{width:48px;height:48px}.ms-public-brand strong{font-size:15px;letter-spacing:2px}.ms-public-brand small{font-size:7px;letter-spacing:1px}
 .ms-public-header .ms-book{margin-left:auto;font-size:13px;padding:11px 14px}
 .ms-mobile-menu{display:block;order:3;width:100%;border-top:1px solid #ffffff20}
 .ms-public-header .ms-mobile-summary{display:flex;justify-content:space-between;padding:13px 0;font-size:14px}
 .ms-public-header .ms-public-nav{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;max-height:calc(100dvh - 155px);overflow-y:auto;padding:0 3px 10px}
 .ms-public-header .ms-public-nav>a,.ms-public-header .ms-treatments>summary{display:flex;width:100%;padding:15px 9px;border-top:1px solid #ffffff12}
 .ms-public-header .ms-treatments>summary{justify-content:space-between}
 .ms-treatment-links{position:static;min-width:0;max-height:none;box-shadow:none;border:0;border-left:2px solid #b79a52;border-radius:0;margin:0 0 8px 9px;padding:0}
 .ms-public-header .ms-treatment-links a{padding:13px 18px;white-space:normal}
}
@media(max-width:360px){.ms-public-brand small{display:none}.ms-public-brand strong{font-size:13px}.ms-public-brand img{width:40px;height:40px}.ms-public-header .ms-public-brand{gap:7px}.encabezado.ms-public-header{gap:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ms-chevron{transition:none}}
