/* Reservus IA · Demo rápida en vídeo (ventana con formulario) y reel de la portada */
.dv-open { cursor: pointer; }

.dv { width: min(980px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 20px; background: #fff; color: #0a0f1f; box-shadow: 0 30px 80px -20px rgba(7, 13, 31, .55); overflow: auto; overscroll-behavior: contain; }
.dv::backdrop { background: rgba(7, 13, 31, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dv[open] { animation: dv-in .22s ease-out; }
@keyframes dv-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dv[open] { animation: none; } }
.dv-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #0a0f1f; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.dv-x svg { width: 18px; height: 18px; }
.dv-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.dv-art { position: relative; min-height: 100%; padding: 28px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, rgba(7, 13, 31, .1), rgba(7, 13, 31, .9)), url("capturas/demo-video-poster.webp") center / cover no-repeat, #0b1628; }
.dv-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side at 50% 42%, rgba(47, 124, 246, .35), transparent 70%); }
.dv-play { position: absolute; left: 50%; top: 40%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2f7cf6, #6a4cf0); box-shadow: 0 0 0 10px rgba(255, 255, 255, .14), 0 18px 40px -12px rgba(106, 76, 240, .9); }
.dv-play svg { width: 30px; height: 30px; margin-left: 4px; color: #fff; }
.dv-art-t { position: relative; margin: 0 0 6px; font-weight: 800; font-size: 1.45rem; line-height: 1.15; letter-spacing: -.02em; }
.dv-art ul { position: relative; list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dv-art li { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .78rem; font-weight: 600; }
.dv-form { padding: 30px 28px 26px; }
.dv-kick { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 4px 11px; border-radius: 999px; background: #eef4ff; color: #143f95; font-size: .78rem; font-weight: 700; }
.dv-kick i { width: 7px; height: 7px; border-radius: 50%; background: #2f7cf6; }
.dv-form h2 { font-size: 1.55rem; letter-spacing: -.025em; margin: 0 0 6px; }
.dv-sub { color: #4d5568; margin: 0 0 18px; font-size: .94rem; line-height: 1.5; }
.dv-form .field { margin-bottom: 12px; }
.dv-form .field input { height: 46px; border-radius: 11px; font-size: 1rem; }
.dv-form .err { margin: 5px 0 0; font-size: .8rem; color: #b42318; }
.dv-form .check { margin: 8px 0 4px; font-size: .8rem; }
.dv-form .check a { color: var(--brand); }
.dv-form .check + .check { margin-top: 8px; }
.dv-form .opt { color: #6b7280; }
.dv-btn { width: 100%; margin-top: 14px; height: 52px; border: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 1rem var(--sans); color: #fff; cursor: pointer; background: linear-gradient(135deg, #2f7cf6, #6a4cf0); box-shadow: 0 14px 26px -12px rgba(106, 76, 240, .85); }
.dv-btn:hover { filter: brightness(1.06); }
.dv-btn[disabled] { opacity: .7; cursor: progress; }
.dv-btn svg { width: 18px; height: 18px; }
.dv-msg { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: #8a1c14; font-size: .86rem; }
.dv-legal { margin: 12px 0 0; font-size: .74rem; color: #6b7280; line-height: 1.45; }
.dv-legal a { color: #4d5568; }
.dv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dv-stage { background: #000; }
.dv-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; }
.dv-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dv-after { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: #0b1628; color: #dce6ff; font-size: .9rem; }
.dv-after strong { color: #fff; }
.dv-after .btn { white-space: nowrap; }
.dv [hidden] { display: none !important; }
@media (max-width: 820px) {
  .dv-grid { grid-template-columns: 1fr; }
  .dv-art { min-height: 190px; padding: 20px; }
  .dv-art ul { display: none; }
  .dv-play { top: 42%; width: 62px; height: 62px; margin: -31px 0 0 -31px; }
  .dv-form { padding: 22px 18px 20px; }
  .dv-form h2 { font-size: 1.3rem; }
}

/* Reel vertical de la portada: se carga solo al pulsar */
.reel-sec .reel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 48px; align-items: center; }
.reel-sec .reel-copy h2 { margin-bottom: 12px; }
.reel-sec .reel-copy ul { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.reel-sec .reel-copy li { display: flex; gap: 10px; align-items: flex-start; color: var(--fg-2); }
.reel-sec .reel-copy li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--brand); }
.reel-sec .reel-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.reel { position: relative; aspect-ratio: 9 / 16; width: 100%; max-width: 360px; justify-self: center; border-radius: 26px; overflow: hidden; background: #0b1628; box-shadow: 0 0 0 8px #0a0f1f, 0 30px 60px -20px rgba(7, 13, 31, .55); }
.reel-btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: none; }
.reel-btn img { width: 100%; height: 100%; object-fit: cover; }
.reel-btn .dv-play { top: 76%; }
.reel-btn .reel-tag { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(7, 13, 31, .75); color: #fff; font: 700 .8rem var(--sans); }
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) {
  .reel-sec .reel-grid { grid-template-columns: 1fr; gap: 28px; }
  .reel { max-width: 300px; }
}

/* Pestaña del menú: visible también en el móvil */
.nav a.dv-nav { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; color: var(--fg); white-space: nowrap; }
.nav a.dv-nav i { width: 7px; height: 7px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, .18); }
.nav a.dv-nav .dv-s { display: none; }
@media (max-width: 860px) {
  .nav a.dv-nav { display: inline-flex; padding: 6px 8px; font-size: .84rem; }
  .nav a.dv-nav .dv-l { display: none; }
  .nav a.dv-nav .dv-s { display: inline; }
}
