/* Agenda: calendario de diagnóstico conectado a GHL */
.ag { padding: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem)) 0 var(--sec); background: var(--bg); }
.ag-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: clamp(2rem, 6vw, 6rem); }
.ag-copy { position: sticky; top: calc(var(--nav-h) + 48px); }
.ag-sub { max-width: 30em; margin-top: var(--s-5); color: var(--ink-2); font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.4; text-wrap: pretty; }
.ag-steps { display: grid; gap: var(--s-4); margin-top: var(--s-6); list-style: none; counter-reset: paso; }
.ag-steps li { position: relative; padding-left: 2.75rem; color: var(--ink-2); line-height: 1.4; counter-increment: paso; }
.ag-steps li::before { content: counter(paso); position: absolute; left: 0; top: -.1em; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--mist); color: var(--accent); font-size: .9375rem; font-weight: 600; }
.ag-steps b { display: block; color: var(--ink); font-weight: 600; }
.ag-alt { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin-top: var(--s-6); color: var(--ink-2); }
.ag-alt .link { min-height: 44px; padding: 0; border: 0; background: none; font-size: inherit; }
.ag-card { position: relative; min-height: 780px; border-radius: var(--r-card); background: #fff; overflow: hidden; box-shadow: 0 0 0 1px var(--line), var(--float); }
.ag-card iframe { position: relative; display: block; width: 100%; min-height: 780px; border: 0; overflow: hidden; }
.ag-skel { position: absolute; inset: 0; display: grid; align-content: start; gap: 14px; padding: 2rem; transition: opacity .35s var(--out); }
.ag-skel.is-off { opacity: 0; pointer-events: none; }
.ag-skel span { display: block; height: 22px; border-radius: 10px; background: #EEF0EF; overflow: hidden; }
.ag-skel span:nth-child(1) { width: 52%; height: 30px; }
.ag-skel span:nth-child(2) { width: 78%; }
.ag-skel span:nth-child(3) { height: 320px; border-radius: 16px; }
.ag-noscript { padding: 2rem; }
.js-anim [data-ag-copy] { visibility: hidden; }

@media (max-width: 1023px) {
  .ag-in { grid-template-columns: 1fr; }
  .ag-copy { position: static; }
}
