/* Web choreography. Static defaults; only transform/opacity animate. */
.presencia-medica .section-nav a { position:relative; }
.presencia-medica .section-nav a::after { content:''; position:absolute; left:9px; right:9px; bottom:3px; height:2px; background:var(--main); transform:scaleX(0); transform-origin:left; }
.presencia-medica .section-nav a[aria-current="location"]::after { transform:scaleX(1); }
.presencia-medica .section-nav a[aria-current="location"] { border-bottom-color:transparent; }
.presencia-medica .atlas-index a[aria-current="location"] { font-weight:700; border-bottom-color:var(--main); }
.presencia-medica .web-type-line { display:block; overflow:clip; padding-bottom:.12em; margin-bottom:-.12em; }
.presencia-medica :is(h1,h2,h3) .web-type-primary,
.presencia-medica :is(h1,h2,h3) .web-type-ink { font:inherit; color:inherit; letter-spacing:inherit; margin-top:0; }
.presencia-medica .hero h1 .web-type-primary,
.presencia-medica .hero h1 .web-type-ink { font:inherit; color:inherit; letter-spacing:inherit; margin-top:0; }
.presencia-medica .web-type-ink { display:block; }
.presencia-medica .web-rule-host { position:relative; }
.presencia-medica .web-motion-rule { position:absolute; inset-inline:0; transform-origin:left; pointer-events:none; }
.presencia-medica .image-frame { position:relative; }
.presencia-medica .web-photo-curtain { position:absolute; inset:-1px; background:var(--paper); z-index:2; transform:scaleX(0); pointer-events:none; }
.template-profesional_cristal .cristal-stage:has(.web-depth-plane)::before,
.template-profesional_cristal .cristal-stage:has(.web-depth-plane)::after { content:none; }
.template-profesional_cristal .web-depth-plane { position:absolute; pointer-events:none; border:1px solid var(--line); }
.template-profesional_cristal .web-depth-back { inset:0 0 42px; background:var(--paper); border-radius:20px; z-index:-2; }
.template-profesional_cristal .web-depth-front { inset:12px 12px 56px; border-radius:12px; z-index:-1; }
@media(prefers-reduced-motion:no-preference) {
  .presencia-medica .button { transition:transform 160ms ease-out; }
  .presencia-medica .section-nav a::after { transition:transform 220ms ease-out; }
  .presencia-medica .button:active { transform:scale(.985); }
  .presencia-medica .service-disclosure summary span { transition:transform 160ms ease-out; }
  .template-consulta_moderna .service-entry h3 { transition:transform 150ms cubic-bezier(.2,0,0,1); }
  .template-jardin_humano .button { transition:transform 220ms cubic-bezier(.3,.7,.2,1); }
  .template-atlas_clinico .button,.template-legado_profesional .button { transition:opacity 100ms ease-out; }
  .template-profesional_cristal .button { transition:transform 180ms cubic-bezier(.16,1,.3,1); }
  .template-profesional_cristal .button:active { transform:translateY(1px) scale(.98); }
}
@media(min-width:901px) and (prefers-reduced-motion:no-preference) {
  .template-especialista_editorial .hero-photo:not(.is-emblem,.style-foto_contain) > img { transform:translateY(calc(var(--web-depth,0px) * -.3)) scale(1.025); }
  .template-especialista_editorial .web-ornament { translate:0 calc(var(--web-depth,0px) * .75); }
  .template-jardin_humano .jardin-photo .hero-visual { translate:0 calc(var(--web-depth,0px) * -.45); }
  .template-jardin_humano .hero-photo:not(.is-emblem,.style-foto_contain) > img { transform:scale(1.025); }
  .template-jardin_humano .web-ornament { translate:0 calc(var(--web-depth,0px) * .9); }
  .template-profesional_cristal .cristal-stage { perspective:1100px; transform-style:preserve-3d; isolation:auto; z-index:0; }
  .template-profesional_cristal .web-depth-back { transform:translate3d(0,calc(var(--web-depth,0px) * -.7),-28px); }
  .template-profesional_cristal .web-depth-front { transform:translate3d(0,calc(var(--web-depth,0px) * -.3),-10px); }
  .template-profesional_cristal .cristal-stage .hero-visual { transform:translate3d(0,calc(var(--web-depth,0px) * -.55),8px) rotateX(var(--web-tilt-x,0deg)) rotateY(var(--web-tilt-y,0deg)); }
  .template-profesional_cristal .hero-photo:not(.is-emblem,.style-foto_contain) > img { transform:translateY(calc(var(--web-depth,0px) * -.18)) scale(1.025); }
  .template-profesional_cristal .cristal-access { transform:translate3d(0,calc(var(--web-depth,0px) * .35),28px); }
  .template-profesional_cristal .web-ornament { transform:translate3d(0,calc(var(--web-depth,0px) * .55),38px); }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .template-clinica_clara .button:hover { transform:translateX(2px); }
  .template-especialista_editorial .button:hover { transform:translateX(4px); }
  .template-consulta_moderna .button:hover { transform:translateY(-1px); }
  .template-consulta_moderna .service-entry:hover h3 { transform:translateX(3px); }
  .template-profesional_cristal .button:hover { transform:translateY(-3px) scale(1.015); }
  .template-jardin_humano .button:hover { transform:rotate(-.6deg); }
  .template-atlas_clinico .button:hover,.template-legado_profesional .button:hover { opacity:.8; }
}
@media(max-width:800px) {
  .template-profesional_cristal .web-depth-back { inset:0 0 64px; border-radius:14px; }
  .template-profesional_cristal .web-depth-front { inset:6px 6px 72px; border-radius:10px; }
}
@media(prefers-reduced-motion:reduce) {
  html:has(.presencia-medica) { scroll-behavior:auto; }
  .presencia-medica .button { transition:opacity 100ms ease-out; }
  .presencia-medica .button:active { opacity:.8; }
  .presencia-medica .section-nav a::after,.presencia-medica .service-disclosure summary span { transition:none; }
  .presencia-medica .web-photo-curtain { display:none; }
  .presencia-medica .web-type-line { overflow:visible; }
}
@media print {
  .presencia-medica * { animation:none!important; transition:none!important; }
  .presencia-medica :is(.hero-visual,.hero-photo > img,.web-ornament,.web-depth-plane,.cristal-access) { transform:none!important; translate:none!important; }
  .template-profesional_cristal .cristal-stage { perspective:none; transform-style:flat; }
  .presencia-medica .web-photo-curtain { display:none; }
  .presencia-medica .web-type-line { overflow:visible; }
  .atlas-index,.mobile-cta { display:none!important; }
  .template-atlas_clinico .atlas-layout { display:block; }
}
