/* =========================================================
   QuartzSales · Gestión de pedidos (landing)
   Se carga después de ../styles.css: header, footer, .btn,
   .container, .section-title, .cta y .reveal vienen del site.
   Acá solo va lo propio de la landing.
   ========================================================= */
.page-pedidos {
  --brand-blue: #3C9FF1;
  --surface: #f8fafc;
  --text-muted: #64748b;
  --radius-sm: 0.75rem;
  --shadow: 0 8px 20px rgba(17, 24, 39, .06);
  --shadow-hover: 0 12px 28px rgba(17, 24, 39, .1);
}

.page-pedidos section[id] { scroll-margin-top: 84px; }

/* Botones con ícono (el .btn del site es inline-block) */
.page-pedidos main .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: none; font-family: inherit; font-size: .95rem; cursor: pointer; white-space: nowrap;
}
.page-pedidos main .btn-gradient:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.page-pedidos main .btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-color);
  color: var(--dark-bg);
  transition: border-color .3s var(--easing), color .3s var(--easing);
}
.page-pedidos main .btn-outline:hover { border-color: var(--brand-1); color: var(--brand-1); }

.page-pedidos .section-title { color: var(--dark-bg); }

/* El header del site es fixed: en esta página arranca siempre en modo "scrolled" (fondo blanco) */
.page-pedidos .hero-pedidos { padding-top: calc(4.5rem + 72px); }
@media (max-width: 900px) {
  .page-pedidos .hero-pedidos { padding-top: calc(2.5rem + 64px); }
}

/* =========================================================
   Hero
   ========================================================= */
.hero-pedidos {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center;
  max-width: 1180px; margin: 0 auto; padding: 4.5rem 1.5rem 5rem;
}
.eyebrow {
  display: inline-block; font-weight: 800; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-1));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .75rem;
}
.hero-pedidos h1 {
  font-size: clamp(2rem, 2.9vw, 2.55rem); font-weight: 800; color: var(--dark-bg);
  line-height: 1.14; letter-spacing: -.015em; margin: 0 0 1.1rem;
  text-wrap: balance;
}
.hero-pedidos p { font-size: 1.08rem; color: var(--text-muted); max-width: 34rem; margin: 0 0 1.75rem; }
.hero-pedidos__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-pedidos__note { font-size: .85rem; color: var(--text-muted); margin: 1rem 0 0; }

/* Hero: laptop real + tarjetas de UI flotantes que rotan en 3 slots.
   Las tarjetas vienen recortadas sin sombra: la sombra es una sola,
   por CSS, para que todas se vean de la misma familia. */
.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-stage::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: center;
  opacity: .6;
  border-radius: var(--radius);
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
          mask-image: linear-gradient(180deg, #000 78%, transparent);
  pointer-events: none;
}
.stage-wrap {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 640 / 540;
  z-index: 1;
}
.violet-back {
  position: absolute;
  left: 26%; top: 13%; width: 66%; height: 50%;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--brand-2), var(--brand-1));
  box-shadow: 0 30px 70px rgba(112, 37, 224, .28);
  z-index: 0;
  opacity: 0; transform: scale(.94);
  transition: opacity .7s var(--easing), transform .7s var(--easing);
}
.hero-stage.is-active .violet-back { opacity: 1; transform: none; }

.desktop-card {
  position: absolute;
  left: 46%; top: 23%; width: 80%;
  opacity: 0; transform: translateX(-50%) translateY(16px);
  filter: drop-shadow(0 28px 30px rgba(19, 13, 93, .22));
  z-index: 1;
  transition: opacity .8s var(--easing) .2s, transform .8s var(--easing) .2s;
}
.desktop-card img { width: 100%; height: auto; display: block; }
.hero-stage.is-active .desktop-card { opacity: 1; transform: translateX(-50%); }

/* Las tarjetas entran recién cuando la compu ya está (clase .slots-on
   que agrega app.js), escalonadas por slot; después rotan solas. */
.slot {
  position: absolute; z-index: 3; pointer-events: none;
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}
.hero-stage.slots-on .slot { opacity: 1; transform: none; }
.hero-stage.slots-on .slot-top { transition-delay: .3s; }
.hero-stage.slots-on .slot-right { transition-delay: .6s; }
.slot-left  { left: -5%;  top: 36%; width: 30%; }
.slot-top   { right: -3%; top: 0;   width: 52%; }
.slot-right { right: -6%; bottom: 0; width: 44%; }

.slot-item {
  position: absolute; left: 0; width: 100%; height: auto;
  border-radius: 14px;
  filter: drop-shadow(0 18px 26px rgba(19, 13, 93, .16)) drop-shadow(0 2px 5px rgba(19, 13, 93, .08));
  opacity: 0;
  transform: translateY(10px) scale(.94);
  transition: opacity .45s ease-in, transform .45s ease-in;
}
.slot-left .slot-item, .slot-top .slot-item { top: 0; transform-origin: top center; }
.slot-right .slot-item { bottom: 0; transform-origin: bottom right; }
.slot-item.active {
  opacity: 1; transform: none;
  transition: opacity .8s ease-out .4s, transform .8s ease-out .4s;
}

@media (max-width: 900px) {
  .hero-pedidos { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-pedidos__visual { margin-top: 1rem; }
  .stage-wrap { max-width: 560px; }
}

@media (max-width: 560px) {
  .hero-pedidos__ctas { flex-direction: column; }
  .hero-pedidos__ctas .btn { width: 100%; justify-content: center; padding: 1rem 1.5rem; }
  .hero-pedidos h1 { font-size: clamp(1.9rem, 8vw, 2.3rem); line-height: 1.15; }
  .slot-left  { left: -2%; width: 32%; }
  .slot-top   { right: -2%; width: 60%; }
  .slot-right { right: -2%; width: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .violet-back, .desktop-card, .slot, .slot-item { transition: none; }
}

/* Beneficios: bento grid con card hero (mockup real) + 4 cards
   de ícono grande, todas sobre superficie violeta oscura */
.beneficios-bento {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(230px, auto));
  gap: 1.25rem;
}
.beneficio-card {
  position: relative; overflow: hidden;
  border-radius: 1.75rem; padding: 2.25rem;
  background: linear-gradient(145deg, var(--brand-2), var(--brand-1));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 14px 38px rgba(5, 3, 25, .35);
  transition: transform .35s var(--easing), box-shadow .35s var(--easing);
}
.beneficio-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(5, 3, 25, .45); }

.beneficio-card__copy { position: relative; z-index: 1; }
.beneficio-card h3 {
  margin: 0; color: #fff; font-size: 1.3rem; font-weight: 800;
  line-height: 1.15; letter-spacing: -.01em;
}
.beneficio-card p { margin: 0; color: rgba(255, 255, 255, .68); font-size: .92rem; line-height: 1.55; }
.beneficio-card__sparkle {
  position: absolute; top: 1.5rem; right: 1.6rem; width: 18px; height: 18px;
  color: rgba(255, 255, 255, .35); pointer-events: none; z-index: 1;
}
.beneficio-card__sparkle svg { display: block; width: 100%; height: 100%; }

.beneficio-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.1rem;
}
.beneficio-card__icon {
  flex-shrink: 0; width: 104px; height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(83, 43, 208, .4)) drop-shadow(0 2px 5px rgba(19, 13, 93, .35));
  transition: transform .4s var(--easing);
}
.beneficio-card:hover .beneficio-card__icon { transform: scale(1.08) rotate(-4deg); }

.beneficio-card--hero {
  grid-row: 1 / span 2;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.beneficio-card--hero .beneficio-card__copy { max-width: 100%; margin-bottom: 1rem; }
.beneficio-card--hero h3 { margin-bottom: .85rem; }
.beneficio-card--hero p { max-width: 88%; }

.beneficio-card__mock {
  position: relative; margin-top: auto; border-radius: 1.1rem;
  border: 1px solid rgba(161, 114, 255, .4); background: #fff;
  box-shadow: 0 30px 60px rgba(5, 3, 25, .5);
  transform: perspective(1000px) rotateX(3deg);
  animation: beneficioMockFloat 6s ease-in-out infinite;
}
.beneficio-card__mock--photo {
  border: none; background: none; box-shadow: none; border-radius: 0;
  margin-left: -2.25rem; margin-right: -2.25rem; margin-bottom: -2.25rem;
  transform: none; animation: none;
  flex: 1; display: flex; aspect-ratio: 1.15 / 1;
  isolation: isolate;
}
.beneficio-card__mock--photo::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse 50% 34% at 50% 88%, rgba(216, 190, 255, .4) 0%, rgba(161, 90, 255, .26) 35%, rgba(112, 37, 224, .14) 55%, transparent 70%);
  filter: blur(24px);
  z-index: -1;
}
.beneficio-card__mock-chrome {
  display: flex; gap: .4rem; padding: .7rem .9rem; background: #EDEBF7;
  border-radius: 1.1rem 1.1rem 0 0;
}
.beneficio-card__mock-chrome span { width: 8px; height: 8px; border-radius: 50%; background: var(--border-color); }
.beneficio-card__mock-body { position: relative; }
.beneficio-card__mock-body img { display: block; width: 100%; height: auto; border-radius: 0 0 1.1rem 1.1rem; }
.beneficio-card__mock--photo .beneficio-card__mock-body {
  flex: 1; position: relative;
}
.beneficio-card__mock--photo .beneficio-card__mock-body img {
  position: absolute; left: 3%; top: 4%;
  width: 94%; height: 110%;
  object-fit: contain; object-position: center bottom;
  border-radius: 0;
}

@keyframes beneficioMockFloat {
  0%, 100% { transform: perspective(1000px) rotateX(3deg) translateY(0); }
  50% { transform: perspective(1000px) rotateX(3deg) translateY(-8px); }
}

/* Chips de UI real (filtros, exportar, estado, detalle) apoyados
   sobre el mockup, cada uno asomando apenas por su esquina */
.mock-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem; border-radius: 999px;
  background: #fff; color: #1B1257;
  font-size: .78rem; font-weight: 700; letter-spacing: -.01em;
  box-shadow: 0 16px 30px rgba(5, 3, 25, .38), 0 0 0 1px rgba(161, 114, 255, .18);
  white-space: nowrap; pointer-events: none;
}
.mock-chip i { font-size: .85rem; color: var(--brand-1); }

.mock-chip--filters { top: 8%; left: 5%; animation: chipFloatTL 5s ease-in-out infinite; animation-delay: .2s; }
.mock-chip--export { top: 8%; right: 5%; animation: chipFloatTR 5s ease-in-out infinite; animation-delay: .6s; }
.mock-chip--export i { color: #1D9F4E; }
.mock-chip--status { bottom: 8%; left: 5%; background: #E9FBF1; animation: chipFloatBL 5s ease-in-out infinite; animation-delay: 1.1s; }
.mock-chip--status i { color: #1FAE5C; }
.mock-chip--detail { bottom: 8%; right: 5%; animation: chipFloatBR 5s ease-in-out infinite; animation-delay: 1.6s; }

@keyframes chipFloatTL {
  0%, 100% { transform: translate(-20%, -45%); }
  50% { transform: translate(-20%, -58%); }
}
@keyframes chipFloatTR {
  0%, 100% { transform: translate(20%, -45%); }
  50% { transform: translate(20%, -58%); }
}
@keyframes chipFloatBL {
  0%, 100% { transform: translate(-20%, 45%); }
  50% { transform: translate(-20%, 58%); }
}
@keyframes chipFloatBR {
  0%, 100% { transform: translate(20%, 45%); }
  50% { transform: translate(20%, 58%); }
}

@media (max-width: 900px) {
  .beneficios-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .beneficio-card--hero { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 640px) {
  .beneficios-bento { grid-template-columns: 1fr; }
  .beneficio-card { padding: 1.75rem; }
  .beneficio-card__icon { width: 76px; height: 76px; }
  .beneficio-card__mock { animation: none; transform: none; }
  .mock-chip { padding: .4rem .65rem; font-size: .64rem; gap: .3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .beneficio-card__mock, .mock-chip { animation: none; }
}

/* =========================================================
   Beneficios: fondos claros, grid con card hero + 4 numeradas
   ========================================================= */
#beneficios {
  background: #F7F4FC;
  box-shadow: 0 0 0 100vmax #F7F4FC;
  clip-path: inset(0 -100vmax);
}
#beneficios .beneficio-card {
  background-image: linear-gradient(155deg, #ffffff 0%, #F3EEFD 100%);
  border: 1px solid rgba(161, 114, 255, .18);
  box-shadow: var(--shadow);
}
#beneficios .beneficio-card:hover { box-shadow: var(--shadow-hover); }
#beneficios .beneficio-card h3 { color: var(--dark-bg); margin-bottom: .6rem; }
#beneficios .beneficio-card p { color: var(--text-muted); }
.beneficio-card__number { position: absolute; top: 1.3rem; right: 1.5rem; font-size: .72rem; font-weight: 800; letter-spacing: .04em; color: rgba(19, 13, 93, .32); z-index: 2; }
.beneficio-card__icon-box { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: .5rem; }
.beneficio-card__icon-box img { width: 100%; height: 100%; object-fit: contain; }

/* =========================================================
   Cómo funciona: pestañas verticales sincronizadas con el video
   ========================================================= */
.flow-panel { position: relative; }
#como-funciona {
  border-radius: 0;
  background: none;
  overflow: visible;
}
#como-funciona::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background:
    radial-gradient(circle at 88% 15%, rgba(161, 114, 255, .32), transparent 45%),
    linear-gradient(150deg, #1B1454 0%, #0D0938 75%);
}
.flow-header { text-align: center; margin-bottom: 2.25rem; position: relative; z-index: 1; }
.flow-tabs {
  display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.5fr);
  gap: 3.5rem; align-items: start; position: relative; z-index: 1;
}
.flow-tabs__list { display: flex; flex-direction: column; padding-top: .25rem; }
.flow-tab {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: flex; align-items: center; gap: .9rem;
  padding: 1.05rem 0 1.05rem 1.35rem;
  border-left: 2px solid rgba(255, 255, 255, .14);
  transition: border-color .3s var(--easing);
}
.flow-tab__icon {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .55); font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  transition: background .3s var(--easing), color .3s var(--easing), border-color .3s var(--easing);
}
.flow-tab__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.flow-tab__title {
  font-size: 1.02rem; font-weight: 700; color: rgba(255, 255, 255, .55);
  transition: color .3s var(--easing);
}
.flow-tab__progress {
  display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12);
  overflow: hidden; max-width: 14rem;
  max-height: 0; margin-top: 0; opacity: 0;
  transition: opacity .3s var(--easing), margin-top .3s var(--easing), max-height .3s var(--easing);
}
.flow-tab__progress-bar { display: block; height: 100%; width: 0; background: var(--brand-2); }

.flow-tab:hover .flow-tab__title { color: rgba(255, 255, 255, .85); }
.flow-tab:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 4px; border-radius: 4px; }
.flow-tab.active { border-left-color: var(--brand-2); }
.flow-tab.active .flow-tab__icon { background: var(--brand-2); color: #fff; border-color: transparent; }
.flow-tab.active .flow-tab__title { color: #fff; font-weight: 800; }
.flow-tab.active .flow-tab__progress { opacity: 1; max-height: 3px; margin-top: .6rem; }

/* Video sin marco de dispositivo: respeta su 16:9, nunca se recorta.
   La descripción del paso activo vive debajo, no en la lista. */
.flow-tabs__panel { position: relative; min-width: 0; }
.flow-tabs__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 1rem; background: #F4F5FA;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 70px rgba(5, 3, 25, .5), 0 0 0 6px rgba(255, 255, 255, .04);
}
.flow-tabs__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.flow-tabs__expand {
  all: unset; box-sizing: border-box; cursor: pointer;
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .85rem; border-radius: 999px;
  background: rgba(19, 13, 93, .78); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  font-size: .8rem; font-weight: 700;
  box-shadow: 0 8px 18px rgba(19, 13, 93, .25);
  transition: background .2s var(--easing), transform .2s var(--easing);
}
.flow-tabs__expand:hover, .flow-tabs__expand:focus-visible { background: var(--brand-1); transform: translateY(-1px); }
.flow-tabs__expand:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 560px) {
  .flow-tabs__expand { right: 8px; bottom: 8px; padding: .4rem .7rem; font-size: .72rem; }
}

.flow-tabs__caption {
  margin: 1.25rem 0 0; max-width: 40rem; min-height: 3.2em;
  font-size: .98rem; line-height: 1.6; color: rgba(255, 255, 255, .7);
  transition: opacity .25s var(--easing);
}
.flow-tabs__caption.is-swapping { opacity: 0; }

.flow-sparkle {
  position: absolute; pointer-events: none; z-index: 0;
  color: rgba(255, 255, 255, .55);
}
.flow-sparkle svg { display: block; width: 100%; height: 100%; }
.flow-sparkle--a { top: 6%; left: 5%; width: 26px; height: 26px; color: rgba(255, 255, 255, .7); }
.flow-sparkle--b { bottom: 8%; right: 6%; width: 20px; height: 20px; color: rgba(161, 114, 255, .55); }
.flow-dot { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; background: rgba(255, 255, 255, .4); }
.flow-dot--a { top: 14%; right: 16%; width: 6px; height: 6px; }
.flow-dot--b { bottom: 20%; left: 32%; width: 5px; height: 5px; background: rgba(161, 114, 255, .5); }
.flow-dot--c { top: 44%; left: 3%; width: 4px; height: 4px; }

/* En pantallas angostas los pasos pasan a una fila de chips desplazable
   arriba del video, para no empujar el video fuera de vista. */
@media (max-width: 900px) {
  .flow-tabs { grid-template-columns: 1fr; gap: 1.5rem; }
  .flow-tabs__list {
    flex-direction: row; gap: .5rem; overflow-x: auto; padding: .25rem 0 .5rem;
    scrollbar-width: none; scroll-snap-type: x mandatory;
  }
  .flow-tabs__list::-webkit-scrollbar { display: none; }
  .flow-tab {
    flex: 0 0 auto; scroll-snap-align: start;
    padding: .5rem .9rem .5rem .5rem; gap: .6rem;
    border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
  }
  .flow-tab.active { border-color: var(--brand-2); background: rgba(161, 114, 255, .14); }
  .flow-tab__icon { width: 30px; height: 30px; font-size: .85rem; }
  .flow-tab__title { font-size: .9rem; white-space: nowrap; }
  .flow-tab__progress { display: none; }
  .flow-tabs__caption { font-size: .92rem; }
}

/* =========================================================
   Pensado para
   ========================================================= */
.pensado-section {
  position: relative; overflow: hidden;
  border-radius: 2.5rem; padding: 4.5rem 3rem;
  background:
    radial-gradient(circle at 88% 15%, rgba(161, 114, 255, .32), transparent 45%),
    linear-gradient(150deg, #1B1454 0%, #0D0938 75%);
}
.pensado-header { margin-bottom: 2.5rem; position: relative; z-index: 1; }
.pensado-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 1rem;
}
.pensado-section .section-title { color: #fff; text-shadow: 0 2px 24px rgba(161, 114, 255, .3); }
.pensado-header p { color: var(--text-muted); max-width: 520px; margin: .75rem auto 0; text-align: center; }
.pensado-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; position: relative; z-index: 1; }
.pensado-card {
  position: relative;
  background-image: linear-gradient(155deg, #ffffff 0%, #F3EEFD 100%);
  border: 1px solid rgba(161, 114, 255, .18);
  border-radius: 1.5rem; padding: 2rem;
  display: flex; flex-direction: column; gap: .75rem;
  box-shadow: var(--shadow);
  transition: transform .3s var(--easing), box-shadow .3s var(--easing);
}
.pensado-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pensado-card h3 { font-size: 1.15rem; margin: 0; color: var(--dark-bg); }
.pensado-card p { font-size: .92rem; color: var(--text-muted); margin: 0; flex: 1; }

@media (max-width: 860px) {
  .pensado-grid { grid-template-columns: 1fr; }
  .pensado-section { padding: 3rem 1.75rem; border-radius: 1.75rem; }
}


/* =========================================================
   Modal de video (amplía el video de "Cómo funciona")
   ========================================================= */
.video-modal {
  position: fixed; inset: 0; z-index: 3000;
  display: grid; place-items: center; padding: 6vh 4vw;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--easing);
}
.video-modal.is-open { opacity: 1; pointer-events: auto; }
.video-modal__backdrop {
  position: absolute; inset: 0; background: rgba(5, 3, 20, .8); backdrop-filter: blur(4px);
}
.video-modal__box { position: relative; width: min(1100px, 92vw); }
.video-modal__frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 1rem; overflow: hidden; background: #0C0920;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
  transform: scale(.96); transition: transform .3s var(--easing);
}
.video-modal.is-open .video-modal__frame { transform: scale(1); }
.video-modal__frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
}
.video-modal__caption {
  display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap;
  margin: 1rem 0 0; color: rgba(255, 255, 255, .78); font-size: .95rem; line-height: 1.5;
}
.video-modal__caption strong { color: #fff; font-weight: 800; }
.video-modal__close {
  all: unset; box-sizing: border-box; cursor: pointer;
  position: absolute; top: -46px; right: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); color: #fff;
  font-size: 1.4rem; line-height: 1; font-weight: 600;
  transition: background .2s var(--easing);
}
.video-modal__close:hover, .video-modal__close:focus-visible { background: var(--brand-2); }
@media (max-width: 560px) {
  .video-modal__caption {
  display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap;
  margin: 1rem 0 0; color: rgba(255, 255, 255, .78); font-size: .95rem; line-height: 1.5;
}
.video-modal__caption strong { color: #fff; font-weight: 800; }
.video-modal__close { top: auto; bottom: -46px; right: 50%; translate: 50% 0; }
}

/* =========================================================
   Modal de HubSpot Meetings (mismo que la home)
   ========================================================= */
.modal-meetings {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, .55); padding: 1rem;
}
.modal-meetings__dialog {
  width: min(100%, 940px); height: min(90vh, 780px);
  background: #fff; border-radius: 16px; overflow: hidden; position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
  display: flex; flex-direction: column;
}
.modal-meetings__backdrop { position: absolute; inset: 0; }
.modal-meetings__close {
  position: absolute; top: .5rem; right: 1.5rem; z-index: 2;
  font-size: 2rem; line-height: 1; background: none; border: 0; cursor: pointer;
}
#meetings-root {
  width: 100%; flex: 1 1 auto; min-height: 0;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.meetings-iframe-container { width: 100%; min-height: 100%; }
.meetings-iframe-container iframe {
  width: 100% !important; height: 820px !important; min-height: 820px !important;
  max-height: none !important; border: 0; display: block;
}
