/* Pagina de Asesoria (5-nov-2026), segun la maqueta que paso Maria: hero de
   video con la conversacion, navegacion fija entre los cuatro trabajos, cuatro
   bloques interactivos (iframes de asesoria-bloques/) y cierre con foto. */
.asx { --asx-x: max(40px, calc((100vw - 1200px) / 2 + 20px)); --asx-or: #FD801D; }
.asx-hero { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(84vh, 740px); background: #16140F; color: #F7F0E4; border-radius: 0 0 44px 44px; }
.asx-hero__bg { position: absolute; inset: 0; z-index: 0; }
.asx-hero__bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.asx-hero__bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,14,10,.78), rgba(16,14,10,.25) 55%, rgba(16,14,10,0)), linear-gradient(0deg, rgba(16,14,10,.6), transparent 45%), linear-gradient(180deg, rgba(16,14,10,.45), transparent 26%); }
.asx-hero__in { position: relative; z-index: 3; padding: 150px 24px 76px var(--asx-x); max-width: calc(var(--asx-x) + 640px); }
.asx-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .02em; color: rgba(247,240,228,.78); margin-bottom: 18px; }
.asx-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: block; }
.asx-hero h1 { margin: 0; max-width: 13ch; font-weight: 400; font-size: clamp(36px, 4.5vw, 62px); line-height: 1.08; letter-spacing: -.035em; color: #F7F0E4; }
.asx-hero__lead { margin: 16px 0 0; max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: rgba(247,240,228,.84); }
.asx-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.asx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 26px; border-radius: 999px; background: var(--asx-or); color: #16140F !important; font-size: 16px; font-weight: 500; transition: transform .15s, background .15s; }
.asx-btn:hover { background: #ec7410; transform: translateY(-1px); }
.asx-lnk { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: #F7F0E4; }
.asx-lnk:hover { text-decoration: underline; }
.asx-lnk svg { width: 18px; height: 18px; fill: none; stroke: var(--asx-or); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Conversacion */
.asx-bub { position: absolute; z-index: 4; right: var(--asx-x); top: 50%; transform: translateY(-54%); width: min(330px, 31vw); display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
.asx-q { width: 100%; padding: 14px 18px 15px; border-radius: 22px; font-size: 15px; line-height: 1.38; color: #F7F0E4; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.24);
  -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15); box-shadow: 0 14px 40px rgba(0,0,0,.18); opacity: 0; }
.asx-q .bl { display: flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: .03em; color: rgba(247,240,228,.7); margin-bottom: 4px; }
.asx-q svg { width: 15px; height: 15px; fill: none; stroke: #F7F0E4; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.asx-q em { display: block; font-style: normal; font-size: 12px; color: rgba(247,240,228,.7); margin-top: 6px; }
.asx-q.ok { display: flex; align-items: center; gap: 8px; padding: 12px 18px; }
.asx-q.ok svg { width: 17px; height: 17px; stroke-width: 2.4; }
.asx-q1 { animation: asx-a 15s infinite; }
.asx-q2 { animation: asx-b 15s infinite; }
.asx-q3 { animation: asx-c 15s infinite; }
@keyframes asx-a { 0%, 6% { opacity: 0; transform: translateY(14px); } 12%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes asx-b { 0%, 22% { opacity: 0; transform: translateY(14px); } 29%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes asx-c { 0%, 48% { opacity: 0; transform: translateY(14px); } 55%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
/* Navegacion fija entre trabajos */
.asx-sub { position: sticky; top: 92px; z-index: 40; display: flex; justify-content: center; padding: 0 12px; margin: 20px 0 4px; transition: opacity .25s; }
.asx-sub.off { opacity: 0; pointer-events: none; }
.asx-sub .in { display: flex; gap: 4px; overflow-x: auto; max-width: 100%; padding: 5px; border: 1px solid #E3DED3; border-radius: 999px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); scrollbar-width: none; }
.asx-sub .in::-webkit-scrollbar { display: none; }
.asx-sub button { font: inherit; font-size: 14px; color: #5F5E5A; background: none; border: 0; border-radius: 999px; padding: 7px 16px; cursor: pointer; white-space: nowrap; }
.asx-sub button:hover, .asx-sub button.on { color: #16140F; }
.asx-sub button.on { background: rgba(233,228,217,.7); }
.asx-sub button:focus-visible { outline: 2px solid #16140F; outline-offset: 2px; }
/* Bloques */
.asx-blk { display: block; width: 100%; scroll-margin-top: 150px; border-bottom: 1px solid #E3DED3; }
.asx-blk:last-of-type { border-bottom: 0; }
.asx-blk iframe { display: block; width: 100%; border: 0; height: 700px; }
/* Cierre */
.asx-cta { position: relative; overflow: hidden; isolation: isolate; padding: 150px 24px 170px; text-align: center; background: #16140F; color: #F3EDE0; }
.asx-cta__bg { position: absolute; inset: -5%; z-index: -3; background: #16140F url('img/asesoria/cta_asesoria_look.jpg') center / cover no-repeat; }
.asx-cta__ov { position: absolute; inset: 0; z-index: -2; background: linear-gradient(rgba(14,15,10,.84), rgba(14,15,10,.97)), radial-gradient(900px 600px at 50% 0, rgba(253,128,29,.16), transparent 60%); }
.asx-cta .asx-eyebrow { color: rgba(243,237,224,.7); margin: 0; }
.asx-cta h2 { margin: 30px auto 24px; font-weight: 300; font-size: clamp(34px, 5vw, 76px); line-height: 1; letter-spacing: -.04em; color: #F3EDE0; }
.asx-cta p { margin: 0 auto 40px; max-width: 540px; font-size: 18px; line-height: 1.55; color: rgba(243,237,224,.75); }
.asx-cta .asx-btn { padding: 20px 32px; }
@media (max-width: 1020px) {
  .asx-hero { min-height: 760px; border-radius: 0 0 32px 32px; }
  .asx-hero__in { padding: 420px 24px 64px; max-width: none; }
  .asx-hero h1 { max-width: none; }
  .asx-bub { left: 24px; right: 24px; top: 98px; width: auto; max-width: 340px; margin-left: auto; transform: none; }
  .asx-q { font-size: 13.5px; padding: 11px 14px; }
  .asx-q3 { display: none; }
  .asx-sub { top: 88px; }
  .asx-cta { padding: 110px 20px 120px; }
}
/* En movil el titular no cabe en dos lineas: se reparte solo */
@media (max-width: 620px) { .asx-cta h2 br { display: none; } .asx-cta h2 { text-wrap: balance; } }
@media (prefers-reduced-motion: reduce) { .asx-q { animation: none !important; opacity: 1; } }
.asx-en-bloque .cursor, .asx-en-bloque .cursor-dot { opacity: 0 !important; }
