/* Avance de obra (mismo archivo en mercadolote-web/assets/obra.css) */
.obra-card { -webkit-appearance: none; appearance: none; font: inherit; text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 16px; width: 100%; max-width: 480px; padding: 10px 18px 10px 10px;
  border: 0; border-radius: 16px; color: #F4EEE2; background: #123A2A;
  box-shadow: inset 0 0 0 1px rgba(244,238,226,.16), 0 18px 40px -24px rgba(0,0,0,.6);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.obra-thumb { position: relative; flex: 0 0 auto; width: 148px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0D2C20 center / cover no-repeat; }
.obra-thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.obra-play { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  display: grid; place-items: center; background: #C85F31; box-shadow: 0 6px 18px rgba(0,0,0,.45); transition: transform .3s; }
.obra-play svg { width: 44%; height: 44%; fill: #fff; margin-left: 8%; }
.obra-txt { display: grid; gap: 4px; min-width: 0; }
.obra-k { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: .95rem; line-height: 1; letter-spacing: .12em; text-transform: uppercase; color: #E0AC55; }
.obra-txt b { font-weight: 700; font-size: 1.02rem; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.obra-txt small { font-size: .86rem; color: rgba(244,238,226,.72); }
.obra-card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(224,172,85,.55), 0 24px 50px -24px rgba(0,0,0,.7); }
.obra-card:hover .obra-play { transform: scale(1.08); }
.obra-card:focus-visible { outline: 3px solid #E0AC55; outline-offset: 3px; }
@media (max-width: 420px) { .obra-card { gap: 12px; padding-right: 12px; } .obra-thumb { width: 118px; } .obra-txt b { font-size: .95rem; } }

.obra-dlg { padding: 0; border: 0; background: transparent; width: min(1200px, 94vw); max-width: none; max-height: none; overflow: visible; }
.obra-dlg::backdrop { background: rgba(6,18,13,.86); backdrop-filter: blur(4px); }
.obra-dlg-in { position: relative; }
.obra-dlg video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.obra-x { position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #F4EEE2; background: rgba(244,238,226,.14); }
.obra-x svg { width: 20px; height: 20px; }
.obra-x:hover { background: rgba(244,238,226,.26); }
@media (prefers-reduced-motion: reduce) { .obra-card, .obra-play { transition: none; } }
.obra-k { display: flex; flex-wrap: wrap; white-space: nowrap; column-gap: .3em; }

/* Columna vertical (hero de lomasdeescobar.com.ar, solo pantallas anchas). En mercadolote.com.ar no se usa. */
.obra-col { display: none; }
@media (min-width: 1280px) {
  .hero .obra-card { display: none; }
  .obra-col { -webkit-appearance: none; appearance: none; font: inherit; text-align: left; cursor: pointer; border: 0; padding: 0;
    position: relative; display: block; flex: 0 0 clamp(190px, 14vw, 260px); border-radius: 20px; overflow: hidden; isolation: isolate;
    color: #F4EEE2; background: #123A2A center / cover no-repeat;
    box-shadow: 0 0 0 1px rgba(244,238,226,.16), 0 50px 100px -40px rgba(0,0,0,.75);
    animation: obra-brillo 2.8s ease-in-out infinite; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
}
.obra-col-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.obra-col::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,31,23,.55) 0%, rgba(11,31,23,0) 22%, rgba(11,31,23,0) 48%, rgba(11,31,23,.92) 100%); }
.obra-col-badge { position: absolute; z-index: 2; top: 16px; left: 14px; right: 14px; display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 28px);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: .95rem; line-height: 1; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 12px 7px 10px; border-radius: 999px; background: rgba(13,44,32,.66); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(244,238,226,.24); }
.obra-col-badge i { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: #C85F31; box-shadow: 0 0 0 0 rgba(200,95,49,.7); animation: obra-titila 1.6s ease-in-out infinite; }
.obra-col-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; padding: 18px 16px 18px; }
.obra-col-mes { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: #E0AC55; }
.obra-col-body b { font-size: clamp(1.05rem, .8rem + .45vw, 1.3rem); font-weight: 800; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
.obra-col-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font-size: .9rem; font-weight: 600; color: rgba(244,238,226,.9); }
.obra-col-cta .obra-play { position: static; margin: 0; width: 34px; height: 34px; }
.obra-col:hover { transform: translateY(-3px); }
.obra-col:hover .obra-col-media { transform: scale(1.05); }
.obra-col:hover .obra-play { transform: scale(1.08); }
.obra-col:focus-visible { outline: 3px solid #E0AC55; outline-offset: 4px; }
@keyframes obra-titila { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(200,95,49,.7); } 50% { opacity: .35; box-shadow: 0 0 0 7px rgba(200,95,49,0); } }
@keyframes obra-brillo { 0%, 100% { box-shadow: 0 0 0 1px rgba(244,238,226,.16), 0 50px 100px -40px rgba(0,0,0,.75); }
  50% { box-shadow: 0 0 0 1px rgba(224,172,85,.6), 0 0 26px rgba(224,172,85,.18), 0 50px 100px -40px rgba(0,0,0,.75); } }
@media (prefers-reduced-motion: reduce) { .obra-col, .obra-col-badge i { animation: none; } .obra-col, .obra-col-media { transition: none; } }
.feat-obra { margin-top: 36px; }
