/* LMDA P05.3 — Animacion de heroes interiores, tarjetas y feedback tactil.
 * Capa no destructiva sobre P05.2; sin cambios al Hero B de Inicio. */
:root{--lmda-p053-curve:cubic-bezier(.2,.75,.28,1)}
/* Los heroes interiores actualmente no animaban porque ya entraban en el viewport.
   Animar por etapas (solo CSS: contenido visible aun sin JS). */
body.inside .lmda-master-hero .lmda-hero-copy{
  animation:lmdaP053HeroCard .76s var(--lmda-p053-curve) both .08s;
}
body.inside .lmda-master-hero .lmda-hero-kicker{animation:lmdaP053Rise .6s var(--lmda-p053-curve) both .19s}
body.inside .lmda-master-hero .lmda-hero-title{animation:lmdaP053Rise .68s var(--lmda-p053-curve) both .28s}
body.inside .lmda-master-hero .lmda-hero-description{animation:lmdaP053Rise .65s var(--lmda-p053-curve) both .41s}
body.inside .lmda-master-hero .lmda-hero-actions{animation:lmdaP053Rise .64s var(--lmda-p053-curve) both .52s}
body.inside .lmda-master-hero .lmda-hero-media{animation:lmdaP053Photo .92s var(--lmda-p053-curve) both .16s}
/* Compromiso y Tu Experiencia usan encabezados propios; conservar sus layouts. */
body.inside .lmda-commit-intro .lmda-commit-head-copy,
body.inside .lmda-feedback-page .lmda-feedback-panel{
  animation:lmdaP053HeroCard .7s var(--lmda-p053-curve) both .09s;
}
body.inside .lmda-commit-intro .lmda-commit-head-pair img{
  animation:lmdaP053Photo .85s var(--lmda-p053-curve) both .2s;
}
/* Las publicaciones Quito Vivo usan una fotografia de cabecera y titulo cargados desde datos. */
body.inside .lmda-article-page .lmda-article-back{animation:lmdaP053Rise .54s var(--lmda-p053-curve) both .1s}
body.inside .lmda-article-page .lmda-article-hero{animation:lmdaP053Photo .88s var(--lmda-p053-curve) both .14s}
body.inside .lmda-article-page .lmda-article-body{animation:lmdaP053Rise .74s var(--lmda-p053-curve) both .30s}
@keyframes lmdaP053HeroCard{from{opacity:0;transform:translate3d(-22px,10px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes lmdaP053Rise{from{opacity:0;transform:translate3d(0,17px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes lmdaP053Photo{from{opacity:.32;transform:scale(.974) translate3d(12px,0,0)}to{opacity:1;transform:scale(1) translate3d(0,0,0)}}
/* Cards existentes y generadas por menu y Quito Vivo: entrada al aparecer. */
.lmda-p053-card.lmda-p053-card-pending{opacity:0;transform:translate3d(0,23px,0)}
.lmda-p053-card.lmda-p053-card-visible{
 animation:lmdaP053Rise .65s var(--lmda-p053-curve) both;
 animation-delay:var(--lmda-p053-delay,0ms);
 animation-fill-mode:backwards;
}
/* Hover genuino en PC, sin sombras falsas ni mover elementos estáticos de maquetacion. */
@media(hover:hover) and (pointer:fine){
 :is(.lmda-blog-card,.dish-card,.season-product,.branch-card,.story-step,.order-option,.flav-thumb,.quito-tab,.viewAward,.store,.lmda-related-stories a,.lmda-pillar-grid>* ,.lmda-proof-grid>*):hover{
  transform:translate3d(0,-4px,0);
  filter:saturate(1.055);
 }
 :is(.lmda-blog-card,.dish-card,.season-product,.branch-card,.story-step,.order-option,.flav-thumb,.quito-tab,.viewAward,.store):hover img{
  filter:saturate(1.07);
 }
}
/* Toque: el dedo genera una confirmacion breve; el toque no equivale a hover persistente. */
:is(.lmda-blog-card,.dish-card,.season-product,.branch-card,.story-step,.order-option,.flav-thumb,.quito-tab,.viewAward,.store,.lmda-related-stories a,.lmda-pillar-grid>* ,.lmda-proof-grid>*){
 transition:transform .2s ease,filter .2s ease,border-color .2s ease,background-color .2s ease;
}
:is(.lmda-blog-card,.dish-card,.season-product,.branch-card,.story-step,.order-option,.flav-thumb,.quito-tab,.viewAward,.store) img{
 transition:filter .2s ease;
}
@media(hover:none){
 :is(.lmda-blog-card,.dish-card,.season-product,.branch-card,.story-step,.order-option,.flav-thumb,.quito-tab,.viewAward,.store,.lmda-related-stories a).lmda-p053-touch-active,
 :is(.lmda-blog-card,.dish-card,.season-product,.branch-card,.story-step,.order-option,.flav-thumb,.quito-tab,.viewAward,.store,.lmda-related-stories a):active{
  transform:scale(.984);filter:saturate(1.14);
 }
}
/* El enfoque por teclado ofrece el mismo feedback sin cambiar de pagina. */
:is(.lmda-blog-card,.dish-card,.season-product,.branch-card,.story-step,.order-option,.flav-thumb,.quito-tab,.viewAward,.store):focus-within{
 outline:2px solid #f3c842;outline-offset:3px;
}
@media(prefers-reduced-motion:reduce){
 body.inside .lmda-master-hero .lmda-hero-copy,
 body.inside .lmda-master-hero .lmda-hero-kicker,
 body.inside .lmda-master-hero .lmda-hero-title,
 body.inside .lmda-master-hero .lmda-hero-description,
 body.inside .lmda-master-hero .lmda-hero-actions,
 body.inside .lmda-master-hero .lmda-hero-media,
 body.inside .lmda-commit-intro .lmda-commit-head-copy,
 body.inside .lmda-commit-intro .lmda-commit-head-pair img,
 body.inside .lmda-feedback-page .lmda-feedback-panel,
 body.inside .lmda-article-page .lmda-article-back,
 body.inside .lmda-article-page .lmda-article-hero,
 body.inside .lmda-article-page .lmda-article-body,
 .lmda-p053-card.lmda-p053-card-visible{animation:none!important;opacity:1!important;transform:none!important}
 .lmda-p053-card.lmda-p053-card-pending{opacity:1!important;transform:none!important}
 :is(.lmda-blog-card,.dish-card,.season-product,.branch-card,.story-step,.order-option,.flav-thumb,.quito-tab,.viewAward,.store){transition:none!important}
}
