/* Versión A · Editorial con imagen */
.a-cab { display: grid; gap: 14px; margin-bottom: 48px; max-width: 760px; }

/* Portada */
.a-hero { padding: 72px 0 96px; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #1B3A5C 0%, var(--tinta-3) 55%); }
.a-hero-luz { position: absolute; width: 620px; height: 620px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(77,141,255,.28), transparent 65%); filter: blur(10px); pointer-events: none; }
.a-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; }
.a-hero h1 { margin: 22px 0 22px; font-size: clamp(38px, 4.6vw, 60px); }
.a-hero h1 em { font-style: normal; background: linear-gradient(90deg, #8DB6FF, #fff 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-lead { font-size: 20px; line-height: 31px; color: #C7D4E0; max-width: 34ch; }
.a-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.a-sellos { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 28px; }
.a-sellos li { font-size: 14px; line-height: 20px; color: #AFC0CF; display: grid; }
.a-sellos b { font-size: 30px; line-height: 36px; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.a-hero-foto { position: relative; border-radius: 22px; overflow: visible; }
.a-hero-foto > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.a-pie-foto { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: rgba(255,255,255,.75); background: rgba(15,29,43,.55); padding: 3px 8px; border-radius: 6px; }
.a-avisos { position: absolute; left: -48px; bottom: 40px; display: grid; gap: 10px; width: 300px; }
.a-aviso { display: grid; grid-template-columns: 12px 1fr; gap: 12px; align-items: center; background: rgba(255,255,255,.96); border-radius: 14px; padding: 12px 14px; box-shadow: 0 14px 34px rgba(0,0,0,.3); opacity: 0; transform: translateX(-18px); transition: opacity .5s var(--ease), transform .5s var(--ease), background .4s; }
.a-aviso.ve { opacity: 1; transform: none; }
.a-aviso b { display: block; font-size: 14px; line-height: 19px; color: var(--tinta); }
.a-aviso small { font-size: 12px; color: var(--sec); }
.a-pt { width: 10px; height: 10px; border-radius: 50%; background: var(--err); animation: pulso 1.6s infinite; }
.a-aviso.hecho { background: #F2FAF4; }
.a-aviso.hecho .a-pt { background: var(--ok); animation: none; }
.a-aviso.hecho small { color: var(--ok); font-weight: 600; }

/* Antes / después */
.a-ad { padding: 110px 0; background: var(--papel); }
.a-ad-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.a-ad-txt h2 { margin: 16px 0 18px; }
.a-ad-leyenda { display: grid; gap: 10px; margin-top: 28px; font-size: 15px; color: var(--tinta); font-weight: 500; }
.a-ad-leyenda span { display: flex; align-items: center; gap: 10px; }
.a-ad-leyenda i { width: 12px; height: 12px; border-radius: 50%; }
.a-rojo { background: var(--err); } .a-verde { background: var(--ok); }
.a-comp { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--sombra); user-select: none; }
.a-comp > img, .a-comp-antes img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.a-comp-antes { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.a-comp-antes img { filter: saturate(.75) brightness(.92); }
.a-comp-linea { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.a-comp-linea span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--azul); font-size: 22px; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.a-comp-rango { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.a-comp-etq { position: absolute; top: 16px; z-index: 2; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; color: #fff; }
.a-izq { left: 16px; background: rgba(180,35,54,.9); } .a-der { right: 16px; background: rgba(23,104,71,.9); }
.a-comp .a-pie-foto { left: 12px; right: auto; z-index: 2; }

/* Situaciones */
.a-sit { padding: 110px 0; }
.a-sit-rej { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.a-sit-t { position: relative; border-radius: 20px; overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.a-sit-t img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.a-sit-t::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,29,43,0) 25%, rgba(15,29,43,.92) 78%); }
.a-sit-t:hover img { transform: scale(1.06); }
.a-sit-c { padding: 26px; }
.a-sit-n { font-size: 13px; font-weight: 700; color: #8DB6FF; letter-spacing: .1em; }
.a-sit-c h3 { color: #fff; font-size: 24px; line-height: 30px; margin: 6px 0 12px; }
.a-sit-c ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; line-height: 21px; color: #D5DFE8; }
.a-sit-c li::before { content: "✕"; color: #FF8A98; font-size: 11px; margin-right: 10px; font-weight: 700; }

/* Método */
.a-met { padding: 110px 0; background: linear-gradient(180deg, var(--tinta-3), var(--tinta-2)); }
.a-met-pista { position: relative; }
.a-met-svg { position: absolute; left: 0; right: 0; top: 18px; width: 100%; height: 40px; overflow: visible; }
.a-met-svg path { fill: none; stroke: var(--azul-luz); stroke-width: 3; stroke-dasharray: 1000; stroke-dashoffset: 1000; vector-effect: non-scaling-stroke; transition: stroke-dashoffset 2.2s var(--ease); }
.a-met-pista.visto path { stroke-dashoffset: 0; }
.a-met-pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.a-paso { display: grid; gap: 8px; justify-items: start; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.a-met-pista.visto .a-paso { opacity: 1; transform: none; }
.a-met-pista.visto .a-paso:nth-child(2) { transition-delay: .5s; } .a-met-pista.visto .a-paso:nth-child(3) { transition-delay: 1s; } .a-met-pista.visto .a-paso:nth-child(4) { transition-delay: 1.5s; }
.a-bola { width: 76px; height: 76px; border-radius: 50%; background: var(--tinta-3); border: 3px solid var(--azul-luz); display: grid; place-items: center; font-size: 30px; margin-bottom: 10px; animation: pulso 2.4s infinite; }
.a-paso b { color: #fff; font-size: 22px; }
.a-paso p { color: #AFC0CF; font-size: 15px; line-height: 22px; }
.a-paso em { font-style: normal; font-size: 13px; font-weight: 600; color: #8DB6FF; background: rgba(77,141,255,.12); padding: 5px 10px; border-radius: 999px; }

/* Juan Antonio */
.a-jua { padding: 120px 0; background: #fff; }
.a-jua-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.a-jua-foto { position: relative; }
.a-jua-foto img { border-radius: 24px; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.a-jua-foto::after { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--azul); border-radius: 24px; z-index: -1; }
.a-jua-firma { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--sombra); display: grid; }
.a-jua-firma b { color: var(--tinta); } .a-jua-firma span { font-size: 13px; color: var(--sec); }
.a-jua-txt h2 { margin: 16px 0 20px; }
.a-cita { font-size: 21px; line-height: 32px; color: var(--tinta); border-left: 3px solid var(--azul); padding-left: 20px; }
.a-cifras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0; }
.a-cifras b { display: block; font-size: 48px; line-height: 52px; font-weight: 700; color: var(--azul); font-variant-numeric: tabular-nums; }
.a-cifras span { font-size: 14px; line-height: 20px; color: var(--sec); }
.a-modos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.a-modos a { display: grid; gap: 4px; padding: 18px 20px; border-radius: 14px; background: var(--papel); text-decoration: none; border: 1px solid var(--linea); transition: transform .2s var(--ease), border-color .2s; }
.a-modos a:hover { transform: translateY(-3px); border-color: var(--azul); }
.a-modos b { color: var(--tinta); } .a-modos span { color: var(--azul); font-size: 14px; font-weight: 500; }

/* Agentes */
.a-ag { padding: 110px 0; }
.a-ag-rej { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.a-ag-t { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 22px; display: grid; gap: 10px; align-content: start; transition: transform .25s var(--ease), border-color .25s; }
.a-ag-t:hover { transform: translateY(-4px); border-color: rgba(141,182,255,.5); }
.a-ag-t p { color: #AFC0CF; font-size: 15px; line-height: 22px; }
.a-viz { height: 110px; border-radius: 12px; background: rgba(77,141,255,.08); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.a-onda { gap: 5px; }
.a-onda i { width: 5px; height: 20px; border-radius: 3px; background: var(--azul-luz); animation: onda 1.1s ease-in-out infinite; }
.a-onda i:nth-child(2n) { animation-delay: .15s; } .a-onda i:nth-child(3n) { animation-delay: .3s; } .a-onda i:nth-child(5n) { animation-delay: .45s; }
@keyframes onda { 0%, 100% { height: 14px; } 50% { height: 64px; } }
.a-chat { flex-direction: column; align-items: stretch; gap: 6px; padding: 10px; justify-content: flex-end; }
.a-chat span { font-size: 12px; line-height: 16px; padding: 6px 10px; border-radius: 12px; max-width: 85%; opacity: 0; animation: burbuja 6s infinite; }
.a-chat .c1 { background: #fff; color: var(--tinta); align-self: flex-start; }
.a-chat .c2 { background: var(--azul); color: #fff; align-self: flex-end; animation-delay: 1.4s; }
.a-chat .c3 { background: #fff; align-self: flex-start; display: flex; gap: 3px; animation-delay: 2.8s; }
.a-chat .c3 i { width: 6px; height: 6px; border-radius: 50%; background: var(--apoyo); animation: flota 1s infinite; }
.a-chat .c3 i:nth-child(2) { animation-delay: .15s; } .a-chat .c3 i:nth-child(3) { animation-delay: .3s; }
@keyframes burbuja { 0%, 8% { opacity: 0; transform: translateY(8px); } 14%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.a-mail span { position: absolute; width: 54px; height: 36px; border-radius: 6px; background: #fff; left: 18px; animation: sobre 4.5s infinite; }
.a-mail span::after { content: ""; position: absolute; inset: 0; border-left: 27px solid transparent; border-right: 27px solid transparent; border-top: 18px solid #DCE3E9; }
.a-mail span:nth-child(2) { animation-delay: 1.5s; } .a-mail span:nth-child(3) { animation-delay: 3s; }
.a-mail b { position: absolute; right: 12px; bottom: 10px; font-size: 12px; color: #8DE0B3; }
@keyframes sobre { 0% { transform: translate(0, -60px); opacity: 0; } 20% { transform: translate(0, 0); opacity: 1; } 60% { transform: translate(110px, 0); opacity: 1; } 80%, 100% { transform: translate(160px, 0); opacity: 0; } }
.a-red i { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--azul-luz); }
.a-red .nc { width: 30px; height: 30px; background: #fff; box-shadow: 0 0 0 6px rgba(77,141,255,.25); animation: pulso 1.8s infinite; }
.a-red .n1 { left: 22%; top: 22%; } .a-red .n2 { right: 22%; top: 22%; } .a-red .n3 { left: 22%; bottom: 22%; } .a-red .n4 { right: 22%; bottom: 22%; }
.a-red::before, .a-red::after { content: ""; position: absolute; left: 25%; right: 25%; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, var(--azul-luz), transparent); background-size: 200% 100%; animation: flujo 1.6s linear infinite; transform: rotate(32deg); }
.a-red::after { transform: rotate(-32deg); }
@keyframes flujo { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.a-grupo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.a-prod { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; background: #fff; border-radius: 16px; padding: 18px 22px; text-decoration: none; transition: transform .25s var(--ease); }
.a-prod:hover { transform: translateY(-3px); }
.a-prod img { width: 52px; height: 52px; object-fit: contain; }
.a-prod b { display: block; color: var(--tinta); font-size: 18px; } .a-prod span { font-size: 14px; color: var(--sec); }
.a-prod em { font-style: normal; color: var(--azul); font-size: 22px; }

/* Casos */
.a-casos { padding: 110px 0; background: var(--papel); }
.a-casos-rej { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.a-caso { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--linea); transition: transform .3s var(--ease), box-shadow .3s; }
.a-caso:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.a-caso-img { position: relative; height: 220px; }
.a-caso-img img { width: 100%; height: 100%; object-fit: cover; }
.a-estado { position: absolute; left: 16px; top: 16px; background: var(--ok-bg); color: var(--ok); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.a-caso-c { padding: 24px 26px 28px; display: grid; gap: 12px; }
.a-caso-c small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sec); }
.a-flujo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.a-flujo span { background: var(--azul-suave); color: var(--azul); padding: 6px 10px; border-radius: 8px; }
.a-flujo span.ok { background: var(--ok-bg); color: var(--ok); }
.a-flujo i { font-style: normal; color: var(--apoyo); }

/* Recursos */
.a-rec { padding: 64px 0; }
.a-rec-rej { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 18px; }
.a-rec-t { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 16px; border: 1px solid var(--linea); text-decoration: none; background: #fff; transition: transform .25s var(--ease), border-color .25s; }
.a-rec-t:hover { transform: translateY(-3px); border-color: var(--azul); }
.a-rec-i { width: 52px; height: 52px; border-radius: 14px; background: var(--azul-suave); display: grid; place-items: center; font-size: 26px; flex: none; }
.a-rec-t small { font-size: 12px; font-weight: 700; color: var(--ok); text-transform: uppercase; letter-spacing: .08em; }
.a-rec-t b { display: block; color: var(--tinta); font-size: 17px; line-height: 23px; }
.a-rec-t span { font-size: 14px; color: var(--sec); }
.a-rec-blog img { width: 88px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.a-cont { background: linear-gradient(180deg, #fff, var(--papel)); }

@media (max-width: 1100px) {
  .a-hero-grid, .a-ad-grid, .a-jua-grid { grid-template-columns: 1fr; gap: 48px; }
  .a-avisos { left: 16px; }
  .a-hero-foto { max-width: 560px; }
  .a-ag-rej { grid-template-columns: 1fr 1fr; }
  .a-met-pasos { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .a-met-svg { display: none; }
  .a-rec-rej { grid-template-columns: 1fr 1fr; }
  .a-rec-blog { grid-column: 1 / -1; }
  .a-jua-foto { max-width: 420px; }
}
@media (max-width: 720px) {
  .a-hero { padding: 48px 0 72px; }
  .a-sit-rej, .a-casos-rej, .a-ag-rej, .a-grupo, .a-modos, .a-rec-rej, .a-met-pasos { grid-template-columns: 1fr; }
  .a-sit-t { min-height: 380px; }
  .a-avisos { width: auto; right: 12px; left: 12px; bottom: 16px; }
  .a-cifras { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .a-cifras b { font-size: 34px; line-height: 40px; }
  .a-ad, .a-sit, .a-met, .a-jua, .a-ag, .a-casos { padding: 72px 0; }
  .a-jua-foto::after { display: none; }
  .a-comp { aspect-ratio: 4/4.6; }
}
