/* DataPUC brand: analytical, precise, and centered on business decisions. */
.dp-interface { --an-navy: #101f35; --an-teal: #55ddc1; --an-muted: #607086; }
body.dp-interface { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-weight: 400; }
.dp-interface h1, .dp-interface h2, .dp-interface h3 { font-family: inherit; }
.dp-public > nav { border-bottom-color: #e4e9ef; }
.dp-public > nav img { width: 130px; }
.dp-public .dp-desktop-nav > a { font-weight: 500; font-size: 13px; }
.dp-public .dp-desktop-nav > a:last-child { background: #132b48 !important; padding: .7rem 1.15rem; border-radius: 6px; }
.dp-public nav a[aria-current=page]:has(img) { background: transparent; }
.dp-public > footer { background: #0c192b; }
.dp-public footer h3 { letter-spacing: .06em; font-size: .8rem; text-transform: uppercase; }
.dp-public footer img { width: 130px; height: auto; }
.an-container { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.an-home { color: #15273d; }
.an-home h2 { font-size: clamp(1.9rem, 3vw, 2.65rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.2; }
.an-home h2 em { font-style: normal; color: #6c7e91; }
.an-home h3 { font-weight: 600; letter-spacing: -.035em; }
.an-hero { position: relative; background: #101f35; color: #f4f7fa; overflow: hidden; }
.an-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#91b9d506 1px, transparent 1px), linear-gradient(90deg, #91b9d506 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent, #000); }
.an-hero::after { content: ''; position: absolute; top: -300px; right: -100px; width: 800px; height: 800px; background: radial-gradient(ellipse, #1a6d6740, transparent 67%); pointer-events: none; }
.an-hero-grid { display: grid; grid-template-columns: .91fr 1.09fr; align-items: center; gap: 58px; padding-block: 92px 78px; position: relative; z-index: 1; }
.an-kicker { display: flex; align-items: center; gap: 9px; color: #b7d0dc; font-size: 9px; letter-spacing: .14em; font-weight: 600; margin-bottom: 28px; }
.an-kicker > span { width: 6px; height: 6px; background: var(--an-teal); box-shadow: 0 0 14px #55ddc150; border-radius: 50%; flex-shrink: 0; }
.an-home .an-title { font-size: clamp(2.6rem, 4.35vw, 3.9rem); font-weight: 600; letter-spacing: -.06em; line-height: 1.09; margin-bottom: 24px; text-wrap: initial; }
.an-title em { color: #65e1c7; font-style: normal; }
.an-hero-copy > p { color: #b3c1d0; font-size: 15px; line-height: 1.85; max-width: 420px; }
.an-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.an-btn { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 13px 19px; font-size: 12px; font-weight: 600; border-radius: 5px; transition: background .2s, box-shadow .2s; }
.an-btn-teal { background: #65e1c7; color: #0c302b; }
.an-btn-teal:hover { background: #8eedd8; box-shadow: 0 6px 24px #65e1c71a; }
.an-text-link { font-size: 12px; font-weight: 500; color: #e6eef5; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.an-text-link:hover { color: #65e1c7; }
.an-hero-foot { margin-top: 38px; color: #8599b1; font-size: 10px; line-height: 1.85; position: relative; padding-left: 26px; }
.an-small-rule { width: 14px; height: 1px; background: #7793ac; position: absolute; left: 0; top: 10px; }
.an-hero-base { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff12; padding-block: 19px; font-size: 8px; font-weight: 500; letter-spacing: .16em; color: #8196ad; position: relative; z-index: 1; }
.an-hero-base i { font-style: normal; margin-inline: 12px; color: #426079; }
.an-workspace { border: 1px solid #ffffff35; border-radius: 12px; overflow: hidden; background: #fff; color: #25374d; box-shadow: 0 30px 90px #020e2560, 0 0 0 8px #ffffff03; min-width: 0; }
.an-window-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #e7edf4; background: #f8fafc; gap: 8px; }
.an-window-brand { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.an-window-brand svg { width: 21px; height: 21px; color: #117c73; }
.an-window-brand strong { font-weight: 600; }
.an-window-brand strong span { color: #8291a4; font-weight: 400; margin-left: 3px; }
.an-sample { border: 1px solid #dce5ed; color: #657488; padding: 2px 6px; border-radius: 4px; font-size: 10px; white-space: nowrap; }
.an-workspace-body { padding: 24px 22px 16px; }
.an-dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.an-overline { display: block; font-size: 8px; letter-spacing: .11em; font-weight: 600; color: #8490a0; margin-bottom: 7px; }
.an-home .an-dashboard-heading h2 { font-size: 18px; letter-spacing: -.04em; }
.an-period { border: 1px solid #e4e9ef; border-radius: 4px; font-size: 9px; padding: 5px 8px; color: #6b7b8e; white-space: nowrap; }
.an-period span { margin-left: 10px; }
.an-tabs { display: flex; gap: 20px; border-bottom: 1px solid #e8edf3; margin-top: 20px; }
.an-tabs button { min-height: 44px; padding: 6px 0 10px; border-bottom: 2px solid transparent; font-size: 12px; font-weight: 500; color: #63758c; }
.an-tabs button[aria-pressed=true] { border-bottom-color: #099f8e; color: #087f73; }
.an-tabs button:hover { color: #087f73; }
.an-metrics { display: grid; grid-template-columns: 1.1fr 1fr .9fr; padding-block: 20px; gap: 12px; }
.an-metrics > div { min-width: 0; border-right: 1px solid #edf0f4; }
.an-metrics > div:last-child { border: 0; }
.an-metrics > div > span { display: block; font-size: 11px; color: #65768c; }
.an-metrics strong { display: block; font-size: clamp(17px, 1.65vw, 23px); font-weight: 600; letter-spacing: -.05em; margin: 3px 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.an-metrics small { display: block; font-size: 9px; color: #13866d; }
.an-chart-panel { padding: 15px 12px 4px; border: 1px solid #e8edf2; border-radius: 6px; }
.an-chart-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.an-chart-heading h3 { font-size: 12px; letter-spacing: -.01em; }
.an-chart-heading > div { color: #65768c; font-size: 9px; white-space: nowrap; }
.an-dot { display: inline-block; width: 5px; height: 5px; background: #159b8c; border-radius: 50%; vertical-align: middle; margin-right: 4px; }
.an-dot-muted { background: #b9c6d8; margin-left: 8px; }
.an-line-chart { width: 100%; height: auto; display: block; overflow: visible; }
.an-dashboard-bottom { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 10px; color: #64758a; }
.an-dashboard-bottom a { color: #1f6c72; }
.an-stack { background: #f7f9fb; border-bottom: 1px solid #e9edf1; }
.an-stack > div { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 30px; }
.an-stack > div > span:first-child { color: #8591a1; font-size: 11px; line-height: 1.75; }
.an-stack strong { color: #475a70; font-weight: 500; }
.an-tech { font-size: 20px; font-weight: 600; letter-spacing: -.04em; color: #46586d; }
.an-tech > span { display: block; font-size: 7px; font-weight: 500; letter-spacing: .08em; color: #94a0ae; margin-top: 4px; }
.an-section { padding-block: 90px; }
.an-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 36px; }
.an-section-heading > p { max-width: 320px; font-size: 13px; line-height: 1.85; color: #758297; padding-bottom: 3px; }
.an-label { display: block; font-size: 9px; font-weight: 600; letter-spacing: .15em; color: #698294; margin-bottom: 18px; }
.an-solutions { display: grid; grid-template-columns: 1.18fr 1fr 1fr; gap: 20px; }
.an-solution { position: relative; display: flex; flex-direction: column; min-height: 348px; padding: 26px; border: 1px solid #e5eaf0; border-radius: 8px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.an-solution:hover { border-color: #64b9af; box-shadow: 0 8px 30px #17324709; }
.an-solution-top { display: flex; align-items: center; justify-content: space-between; color: #748b9d; margin-bottom: 30px; }
.an-icon { width: 34px; height: 34px; display: grid; place-items: center; background: #ecf5f3; border-radius: 7px; color: #388477; }
.an-icon svg { width: 22px; height: 22px; }
.an-solution h3 { font-size: 20px; line-height: 1.3; margin-bottom: 13px; }
.an-solution > p { font-size: 14px; line-height: 1.85; color: #64758a; }
.an-solution-featured { background: #edf5f3; border-color: #e0ede7; }
.an-solution-featured .an-icon { background: #d8eae3; color: #377962; }
.an-solution-featured .an-overline { color: #698d7d; }
.an-solution-featured > p { max-width: 300px; }
.an-mini-bars { display: flex; align-items: end; height: 70px; gap: 10px; margin: 30px 0 15px; padding-right: 10px; }
.an-mini-bars span { flex: 1; height: var(--bar); background: #b6dbcc; border-radius: 3px 3px 0 0; }
.an-mini-bars span:nth-last-child(-n+3) { background: #539c83; }
.an-card-link { margin-top: auto; font-size: 10px; font-weight: 600; color: #3f765f; }
.an-query { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 16px 6px; border: 1px dashed #dce4ec; border-radius: 5px; margin-top: auto; font-size: 9px; color: #6d8399; }
.an-query b { font-weight: 400; color: #20a28c; }
.an-source-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 30px; }
.an-source-tags span { border: 1px solid #e4e9f0; border-radius: 4px; padding: 5px 9px; font-size: 9px; color: #6c7e93; }
.an-service-index { display: flex; flex-wrap: wrap; gap: 15px 25px; padding-top: 24px; align-items: center; }
.an-service-index > span { font-size: 8px; letter-spacing: .08em; color: #8593a4; }
.an-service-index a { font-size: 11px; color: #506a7e; }
.an-service-index a:hover { color: #078678; }
.an-method { background: #13243b; color: #f0f4f8; padding-block: 72px; }
.an-method-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: center; }
.an-method .an-label { color: #78b9ad; }
.an-method h2 { margin-bottom: 22px; }
.an-method-layout > div > p { color: #95a7bd; font-size: 13px; line-height: 1.9; max-width: 380px; margin-bottom: 20px; }
.an-steps { display: grid; gap: 26px; }
.an-steps li { display: flex; gap: 22px; position: relative; }
.an-steps li:not(:last-child)::after { content: ''; position: absolute; top: 37px; left: 17px; width: 1px; height: calc(100% - 8px); background: #35516a; }
.an-steps li > span { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid #365167; color: #7fd3bc; font-size: 10px; border-radius: 50%; }
.an-steps h3 { font-size: 14px; padding-top: 2px; margin-bottom: 6px; }
.an-steps p { font-size: 11px; color: #91a3b8; }
.an-inline-link { display: inline-flex; gap: 25px; color: #36576b; font-size: 12px; font-weight: 500; min-height: 36px; align-items: center; }
.an-inline-link:hover { color: #087c70; }
.an-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.an-project-image { background: #edf1f5; border: 1px solid #e4e9ef; border-radius: 7px; padding: 24px; height: 280px; overflow: hidden; }
.an-project-image img { width: 100%; height: 100%; object-fit: contain; filter: saturate(.7); transition: transform .3s; }
.an-project:hover img { transform: scale(1.03); }
.an-project-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 0; }
.an-project-caption span { display: block; font-size: 8px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #8492a2; margin-bottom: 8px; }
.an-project-caption h3 { font-size: 17px; }
.an-project-caption b { font-weight: 400; border: 1px solid #dfe7ee; border-radius: 50%; height: 32px; width: 32px; flex-shrink: 0; display: grid; place-items: center; color: #70859a; }
.an-project-placeholder { height: 100%; display: grid; place-content: center; justify-items: center; color: #7a8fa3; gap: 15px; font-size: 13px; }
.an-project-placeholder svg { width: 70px; height: 70px; }
.an-academy { padding: 48px 60px; margin-bottom: 90px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: center; background: #f3f6f8; border: 1px solid #e6ecf1; border-radius: 8px; }
.an-academy-mark { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 35px; color: #6b8397; }
.an-academy-mark svg { width: 60px; height: 60px; }
.an-academy-mark span { font-size: 18px; font-weight: 600; letter-spacing: -.04em; line-height: 1.25; }
.an-academy-mark strong { font-weight: 400; font-size: 30px; color: #243f57; }
.an-academy h2 { font-size: 30px; }
.an-academy p { margin: 15px 0; font-size: 12px; line-height: 1.9; color: #748295; }
.an-final { padding-block: 68px; background: #eaf3f0; text-align: center; border-top: 1px solid #dfeae5; }
.an-final h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.an-final p { font-size: 13px; color: #72877e; max-width: 450px; margin: 20px auto 0; line-height: 1.85; }
.an-final .an-actions { justify-content: center; }
.an-final .an-btn { background: #173b32; color: #fff; }
.an-final .an-btn:hover { background: #235446; }
.an-final .an-text-link { color: #3d6458; }
/* Interior pages carry the same visual language and a readable information hierarchy. */
.an-course-launch { display: grid; grid-template-columns: 1.5fr 1fr; border: 1px solid #dce8e4; border-top: 4px solid #499b86; border-radius: 8px; overflow: hidden; margin-bottom: 48px; }
.an-course-description { padding: 36px; }
.an-course-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.an-course-topics span { background: #edf5f2; color: #316858; border: 1px solid #dcebe4; padding: 4px 10px; border-radius: 4px; font-size: 12px; }
.an-course-description h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); font-weight: 600; margin-bottom: 22px; }
.an-course-description p { color: #607086; font-size: 15px; line-height: 1.9; margin-top: 16px; }
.an-course-description strong { color: #294657; font-weight: 600; }
.an-course-enrollment { background: #f0f6f3; border-left: 1px solid #dce8e4; padding: 36px; }
.an-course-enrollment .an-label { margin-bottom: 6px; }
.an-course-price { font-size: 38px; font-weight: 600; letter-spacing: -.05em; color: #173e32; margin-bottom: 22px; font-variant-numeric: tabular-nums; }
.an-course-enrollment dl > div { padding: 12px 0; border-top: 1px solid #dbe7e0; }
.an-course-enrollment dt { font-size: 11px; color: #6b8277; margin-bottom: 3px; }
.an-course-enrollment dd { font-size: 14px; font-weight: 500; color: #294c3d; }
.an-course-group { color: #476858; font-size: 13px; margin: 16px 0 22px; }
.an-course-more { background: #fff; color: #173e32; border: 1px solid #b9d3c8; width: 100%; gap: 10px; text-align: center; margin-bottom: 10px; }
.an-course-more:hover { background: #e3efe9; }
.an-course-enroll { background: #173e32; color: #fff; width: 100%; gap: 10px; text-align: center; }
.an-course-enroll:hover { background: #285d49; }
@media (max-width: 800px) {
    .an-course-launch { grid-template-columns: 1fr; }
    .an-course-description, .an-course-enrollment { padding: 26px; }
    .an-course-enrollment { border-left: 0; border-top: 1px solid #dce8e4; }
}
.dp-public .dp-page-hero { background: #13243b !important; padding-block: 64px !important; border-bottom: 4px solid #76c3b1; }
.dp-public .dp-page-hero::after { content: ''; position: absolute; inset: 0 0 0 60%; opacity: .35; background-image: linear-gradient(#96c0cd20 1px, transparent 1px), linear-gradient(90deg, #96c0cd20 1px, transparent 1px); background-size: 36px 36px; transform: skewX(-15deg); pointer-events: none; }
.dp-public .dp-page-hero .text-center { text-align: left; margin-bottom: 0; }
.dp-public .dp-page-hero h1 { font-size: clamp(2rem, 3.7vw, 3.2rem); font-weight: 600; letter-spacing: -.045em; max-width: 820px; }
.dp-public .dp-page-hero p { margin-left: 0; max-width: 650px; font-size: 15px; line-height: 1.85; color: #adbdcf; }
.dp-page-hero .an-label { color: #81bfae; }
.dp-public main > section:not(.dp-page-hero) h2 { color: #18334c !important; }
.dp-public main > section:not(.dp-page-hero) :is(h3,h4)[style*="color: #0035D1"] { color: #1d3d55 !important; }
.dp-public main > section .bg-white.rounded-lg { border-radius: 8px; box-shadow: 0 4px 22px #12334c04; }
.dp-public main > section .grid > .bg-white.rounded-lg { border-top: 3px solid #7ba89c; }
.dp-public main > section :is(.w-16,.w-20)[style*="background-color"] { background: #eaf2f0 !important; color: #387969; border-radius: 8px; }
.dp-public main > section :is(.w-16,.w-20)[style*="background-color"] svg { color: #387969; }
.dp-public main > section a.text-white[style*="background-color"] { background: #173a52 !important; border-radius: 5px; }
.dp-public main > section a.text-white[style*="background-color"]:hover { background: #23616a !important; }
.dp-public main > section :is(span,svg)[style*="color: #34D100"] { color: #16856b !important; }
.an-pricing-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.an-pricing-grid > div { padding: 28px; }
.an-pricing-grid > div:first-child { background: #f1f7f4; }
.dp-admin #sidebar { background: #11243c; border: 0; color: #d9e4ee; }
.dp-admin #sidebar :is(a,button,.text-gray-700,.text-gray-600,.text-gray-500,.text-gray-900) { color: #aebed0; }
.dp-admin #sidebar :is(a,button):hover { background: #203a52; color: #fff; }
.dp-admin #sidebar a[aria-current=page], .dp-admin #sidebar a.bg-blue-50 { background: #22453f; color: #8ce3c9; }
.dp-admin #sidebar .border-gray-200 { border-color: #ffffff15; }
.dp-admin #sidebar > div > div:first-child a { background: #fff; border-radius: 5px; padding: 5px; }
.dp-admin .metric-card.bg-white.rounded-lg { border-radius: 8px; border-top: 3px solid #469b8b; }
.dp-admin .metric-card .text-4xl { display: none; }
.dp-admin .metric-card .text-3xl { color: #15374b; font-variant-numeric: tabular-nums; }
.dp-client .bg-white.rounded-lg { border-radius: 8px; }
@media (min-width: 1500px) { .an-hero-grid { padding-block: 110px 96px; } }
@media (max-width: 1100px) {
    .an-container { width: calc(100% - 48px); }
    .an-hero-grid { gap: 30px; grid-template-columns: .85fr 1.15fr; }
    .an-home .an-title { font-size: 42px; }
    .an-actions { gap: 14px; }
    .an-kicker { font-size: 8px; letter-spacing: .07em; }
    .an-workspace-body { padding: 18px 15px 14px; }
    .an-metrics small { font-size: 9px; }
    .an-method-layout { gap: 60px; }
    .an-solutions { gap: 14px; }
    .an-solution { padding: 21px; }
    .an-solution h3 { font-size: 18px; }
}
@media (max-width: 800px) {
    .an-hero-grid { grid-template-columns: 1fr; padding-block: 54px 45px; gap: 40px; }
    .an-home .an-title { font-size: 52px; max-width: 600px; }
    .an-hero-copy > p { max-width: 530px; }
    .an-hero-foot { margin-top: 22px; }
    .an-workspace { max-width: 620px; width: 100%; }
    .an-workspace-body { padding: 24px; }
    .an-metrics strong { font-size: 24px; }
    .an-metrics small { font-size: 9px; }
    .an-stack > div { flex-wrap: wrap; gap: 22px 32px; }
    .an-stack > div > span:first-child { width: 100%; }
    .an-tech { font-size: 19px; }
    .an-section-heading { align-items: start; flex-direction: column; gap: 20px; }
    .an-section-heading > p { max-width: 550px; }
    .an-solutions { grid-template-columns: 1fr 1fr; }
    .an-solution-featured { grid-column: span 2; }
    .an-mini-bars { max-width: 430px; }
    .an-section { padding-block: 60px; }
    .an-method-layout { grid-template-columns: 1fr; gap: 40px; }
    .an-project-image { height: 210px; padding: 14px; }
    .an-academy { padding: 32px; gap: 24px; margin-bottom: 60px; }
    .an-academy-mark { padding: 0; gap: 10px; }
    .an-pricing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
    .an-container { width: calc(100% - 36px); }
    .an-home .an-title { font-size: 42px; }
    .an-hero-copy > p { font-size: 14px; }
    .an-kicker { font-size: 7px; letter-spacing: .08em; margin-bottom: 22px; }
    .an-hero .an-actions { align-items: start; flex-direction: column; gap: 4px; }
    .an-hero-base { flex-direction: column; gap: 8px; font-size: 7px; }
    .an-window-bar { padding: 12px; }
    .an-workspace-body { padding: 16px 12px 12px; }
    .an-home .an-dashboard-heading h2 { font-size: 15px; }
    .an-period { font-size: 8px; padding: 4px; }
    .an-metrics { gap: 7px; padding-block: 16px; }
    .an-metrics > div > span { font-size: 10px; min-height: 32px; }
    .an-metrics strong { font-size: 18px; }
    .an-metrics small { font-size: 8px; padding-right: 4px; }
    .an-chart-panel { padding-inline: 8px; }
    .an-chart-heading h3 { font-size: 10px; }
    .an-chart-heading > div { font-size: 8px; }
    .an-dashboard-bottom { font-size: 9px; }
    .an-stack > div { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 14px; }
    .an-stack > div > span:first-child { grid-column: span 2; }
    .an-solutions, .an-projects, .an-academy { grid-template-columns: 1fr; }
    .an-solution-featured { grid-column: auto; }
    .an-solution { min-height: 300px; padding: 26px; }
    .an-solution h3 { font-size: 22px; }
    .an-solution > p { font-size: 13px; }
    .an-query { margin-top: 25px; }
    .an-section-heading { margin-bottom: 28px; }
    .an-project-image { height: 240px; }
    .an-academy { padding: 32px 24px; gap: 35px; }
    .an-academy-mark { justify-content: start; }
    .an-final .an-actions { flex-direction: column; gap: 10px; }
    .an-pricing-grid { grid-template-columns: 1fr; }
    .dp-public .dp-page-hero { padding-block: 44px !important; }
}
/* Detalle curso SQL + Python */
.an-cd-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.an-cd-hero-meta span { border: 1px solid #ffffff26; background: #ffffff0d; color: #d7e3ee; font-size: 12px; padding: 6px 12px; border-radius: 4px; }
.an-cd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.an-cd-section + .an-cd-section { margin-top: 64px; }
.an-cd-section > h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.03em; margin-bottom: 14px; }
.an-cd-lead { color: #607086; font-size: 15px; line-height: 1.9; margin-bottom: 26px; max-width: 720px; }
.an-cd-lead strong, .an-cd-outcomes strong, .an-cd-module strong { color: #294657; font-weight: 600; }
.an-cd-outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.an-cd-outcomes li { position: relative; padding-left: 28px; color: #4c5e70; font-size: 14.5px; line-height: 1.7; }
.an-cd-outcomes li::before { content: ''; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #e3f1ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23387969' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.an-cd-modules { display: grid; gap: 14px; }
.an-cd-module { display: grid; grid-template-columns: 64px minmax(0, 1fr); border: 1px solid #dce8e4; border-radius: 8px; overflow: hidden; background: #fff; }
.an-cd-module-num { display: flex; align-items: center; justify-content: center; background: #f0f6f3; border-right: 1px solid #dce8e4; color: #316858; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.an-cd-module > div { padding: 20px 24px; }
.an-cd-module h3 { font-size: 16px; font-weight: 600; color: #1d3d55; margin-bottom: 6px; }
.an-cd-module p { color: #607086; font-size: 14px; line-height: 1.8; }
.an-cd-module code { font-size: 12.5px; background: #edf3f7; color: #1d4a66; padding: 1px 6px; border-radius: 3px; white-space: nowrap; }
.an-cd-module-body { color: #607086; font-size: 14px; line-height: 1.8; }
/* Texto enriquecido (editor del panel) */
.an-rich > * + * { margin-top: .75em; }
.an-rich p { margin: 0; }
.an-rich ul, .an-rich ol { padding-left: 1.4em; }
.an-rich ul { list-style: disc; }
.an-rich ol { list-style: decimal; }
.an-rich li + li { margin-top: .25em; }
.an-rich h3 { font-size: 1.15em; font-weight: 600; color: #1d3d55; }
.an-rich h4 { font-size: 1.05em; font-weight: 600; color: #1d3d55; }
.an-rich blockquote { border-left: 3px solid #9fcbbd; padding-left: 14px; color: #4c5e70; }
.an-rich a, .an-cd-outcomes a, .an-cd-hero a { color: #387969; text-decoration: underline; }
.an-rich em { font-style: italic; }
.an-rich u { text-decoration: underline; }
.an-rich s { text-decoration: line-through; }
.an-rich code, .an-cd-outcomes code { font-size: .87em; background: #edf3f7; color: #1d4a66; padding: 1px 6px; border-radius: 3px; }
.an-rich .ql-align-center { text-align: center; } .an-rich .ql-align-right { text-align: right; } .an-rich .ql-align-justify { text-align: justify; }
.an-rich .ql-indent-1 { margin-left: 2em; } .an-rich .ql-indent-2 { margin-left: 4em; } .an-rich .ql-indent-3 { margin-left: 6em; }
.an-cd-module.is-project { border-color: #9fcbbd; }
.an-cd-module.is-project .an-cd-module-num { background: #173e32; color: #fff; border-right-color: #173e32; font-size: 12px; }
.an-cd-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: #316858; }
.an-cd-flow span { background: #edf5f2; border: 1px solid #dcebe4; padding: 3px 9px; border-radius: 4px; }
.an-cd-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #dce8e4; border-radius: 8px; overflow: hidden; }
.an-cd-facts > div { padding: 20px 22px; border-left: 1px solid #dce8e4; }
.an-cd-facts > div:first-child { border-left: 0; }
.an-cd-facts dt { font-size: 11px; color: #6b8277; margin-bottom: 4px; letter-spacing: .04em; }
.an-cd-facts dd { font-size: 14px; font-weight: 500; color: #294c3d; line-height: 1.6; }
.an-cd-aside { position: sticky; top: 96px; }
.an-cd-aside .an-course-enrollment { border: 1px solid #dce8e4; border-top: 4px solid #499b86; border-radius: 8px; }
.an-cd-back { display: inline-flex; gap: 8px; margin-top: 18px; font-size: 13px; color: #387969; }
.an-cd-back:hover { text-decoration: underline; }
@media (max-width: 1000px) {
    .an-cd-layout { grid-template-columns: 1fr; }
    .an-cd-aside { position: static; }
    .an-cd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .an-cd-facts > div:nth-child(3) { border-left: 0; }
    .an-cd-facts > div:nth-child(n+3) { border-top: 1px solid #dce8e4; }
}
@media (max-width: 640px) {
    .an-cd-outcomes { grid-template-columns: 1fr; }
    .an-cd-facts { grid-template-columns: 1fr; }
    .an-cd-facts > div { border-left: 0; border-top: 1px solid #dce8e4; }
    .an-cd-facts > div:first-child { border-top: 0; }
    .an-cd-module { grid-template-columns: 1fr; }
    .an-cd-module-num { justify-content: flex-start; padding: 10px 20px; border-right: 0; border-bottom: 1px solid #dce8e4; font-size: 14px; }
}
/* Registro a curso */
html { scroll-behavior: smooth; }
#registro { scroll-margin-top: 96px; }
.an-course-register { margin-bottom: 10px; }
.an-course-wa { margin-bottom: 0; margin-top: 10px; }
.an-reg-form { border: 1px solid #dce8e4; border-top: 4px solid #499b86; border-radius: 8px; padding: 28px; background: #fff; }
.an-reg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.an-reg-full { grid-column: 1 / -1; }
.an-reg-field label { display: block; font-size: 13px; font-weight: 600; color: #294657; margin-bottom: 6px; }
.an-reg-field label span[aria-hidden] { color: #b4452f; }
.an-reg-optional { font-weight: 400; color: #6b8277; }
.an-reg-field input, .an-reg-field textarea { box-sizing: border-box; width: 100%; border: 1px solid #c9d8d2; border-radius: 5px; padding: 11px 13px; font-size: 15px; color: #1d3d55; background: #fbfdfc; transition: border-color .15s, box-shadow .15s; }
.an-reg-field textarea { resize: vertical; min-height: 88px; }
.an-reg-field input:focus, .an-reg-field textarea:focus { outline: none; border-color: #499b86; box-shadow: 0 0 0 3px #499b8626; background: #fff; }
.an-reg-field [aria-invalid="true"] { border-color: #c2553f; }
.an-reg-error { display: block; min-height: 0; margin-top: 5px; font-size: 12px; color: #b4452f; }
.an-reg-error:empty { display: none; }
.an-reg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.an-reg-submit { width: auto; min-width: 220px; margin-top: 24px; }
.an-reg-submit:disabled { opacity: .7; cursor: progress; }
.an-reg-note { margin-top: 12px; font-size: 12px; color: #6b8277; }
.an-reg-general { margin-bottom: 18px; padding: 12px 14px; border-radius: 5px; background: #fbeeea; color: #8a3322; font-size: 14px; }
.an-reg-success { border: 1px solid #9fcbbd; border-left: 4px solid #2f8a70; background: #eef7f3; border-radius: 8px; padding: 22px 24px; }
.an-reg-success strong { display: block; font-size: 17px; color: #173e32; margin-bottom: 6px; }
.an-reg-success p { color: #3f5f52; font-size: 14.5px; line-height: 1.7; }
.an-reg-success a { color: #1f6f58; font-weight: 600; text-decoration: underline; }
[hidden] { display: none !important; }
@media (max-width: 640px) {
    .an-reg-grid { grid-template-columns: 1fr; }
    .an-reg-form { padding: 20px; }
    .an-reg-submit { width: 100%; }
}
/* Consulta de certificados */
.an-cert-wrap { max-width: 760px; margin: 0 auto; }
.an-cert-search { border: 1px solid #dce8e4; border-top: 4px solid #499b86; border-radius: 8px; padding: 28px; background: #f0f6f3; }
.an-cert-search label { display: block; font-size: 13px; font-weight: 600; color: #294657; margin-bottom: 8px; }
.an-cert-search-row { display: flex; gap: 10px; }
.an-cert-search input { box-sizing: border-box; flex: 1; min-width: 0; border: 1px solid #c9d8d2; border-radius: 5px; padding: 12px 14px; font-size: 16px; color: #1d3d55; background: #fff; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.an-cert-search input:focus { outline: none; border-color: #499b86; box-shadow: 0 0 0 3px #499b8626; }
.an-cert-search .an-btn { width: auto; min-width: 120px; }
.an-cert-search small { display: block; margin-top: 8px; font-size: 12px; color: #6b8277; }
.an-cert-results { margin-top: 32px; display: grid; gap: 18px; }
.an-cert-count { color: #4c5e70; font-size: 14px; }
.an-cert-card { border: 1px solid #dce8e4; border-radius: 8px; padding: 28px 30px; background: #fff; box-shadow: 0 4px 22px #12334c08; }
.an-cert-card.is-valid { border-top: 4px solid #2f8a70; }
.an-cert-card.is-revoked { border-top: 4px solid #c2553f; background: #fffaf8; }
.an-cert-card header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.an-cert-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 12px 5px 8px; border-radius: 999px; }
.an-cert-badge svg { width: 18px; height: 18px; }
.is-valid .an-cert-badge { background: #e3f1ec; color: #1f6f58; }
.is-revoked .an-cert-badge { background: #fbeeea; color: #a23c28; }
.an-cert-code { font-size: 13px; background: #edf3f7; color: #1d4a66; padding: 4px 10px; border-radius: 4px; letter-spacing: .04em; }
.an-cert-lead { font-size: 13px; color: #6b8277; }
.an-cert-name { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 600; letter-spacing: -.02em; color: #18334c; margin: 4px 0 14px; }
.an-cert-course { font-size: 17px; font-weight: 600; color: #1d3d55; margin-top: 4px; }
.an-cert-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin-top: 22px; border-top: 1px solid #e3ece8; }
.an-cert-facts > div { padding: 14px 0 0; }
.an-cert-facts dt { font-size: 11px; color: #6b8277; margin-bottom: 3px; letter-spacing: .04em; }
.an-cert-facts dd { font-size: 14px; font-weight: 500; color: #294c3d; font-variant-numeric: tabular-nums; }
.an-cert-warning { margin-top: 18px; padding: 12px 14px; border-radius: 5px; background: #fbeeea; color: #8a3322; font-size: 14px; }
.an-cert-empty { border: 1px solid #ead8d2; border-left: 4px solid #c2553f; background: #fdf6f4; border-radius: 8px; padding: 22px 24px; }
.an-cert-empty strong { display: block; font-size: 16px; color: #6f2a1c; margin-bottom: 6px; }
.an-cert-empty p { color: #6b4a42; font-size: 14.5px; line-height: 1.7; }
.an-cert-empty a { color: #1f6f58; font-weight: 600; text-decoration: underline; }
.an-cert-foot { margin-top: 36px; text-align: center; font-size: 12px; color: #8a9aa8; }
@media (max-width: 640px) {
    .an-cert-search { padding: 20px; }
    .an-cert-search-row { flex-direction: column; }
    .an-cert-search .an-btn { width: 100%; }
    .an-cert-card { padding: 22px 20px; }
}

/* Hero slider */
.an-slides { display: grid; position: relative; z-index: 1; }
.an-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.an-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
.an-slider .an-hero-grid { padding-bottom: 40px; }
.an-slide-link { color: inherit; text-decoration: none; cursor: pointer; }
.an-slide-link:focus-visible { outline: 2px solid #65e1c7; outline-offset: 6px; border-radius: 8px; }
.an-slide-link .an-workspace { transition: transform .3s ease, box-shadow .3s ease; }
.an-slide-link:hover .an-workspace { transform: translateY(-4px); box-shadow: 0 36px 100px #020e2570, 0 0 0 8px #65e1c710; }
.an-slide-link:hover .an-btn-teal { background: #8eedd8; }
.an-edu-heading { font-size: 20px; font-weight: 600; letter-spacing: -.04em; color: #17304a; margin-top: 4px; }
.an-edu-tracks { list-style: none; margin: 18px 0 14px; padding: 0; display: grid; gap: 10px; }
.an-edu-tracks li { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid #e7edf4; border-radius: 8px; background: #fbfcfd; }
.an-edu-tracks .an-icon { flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: #e6f6f2; color: #117c73; }
.an-edu-tracks .an-icon svg { width: 20px; height: 20px; }
.an-edu-tracks strong { font-size: 13px; font-weight: 600; color: #17304a; }
.an-edu-tracks p { font-size: 11px; color: #6b7a8d; margin: 2px 0 8px; line-height: 1.55; }
.an-edu-tracks .an-source-tags { margin: 0; }
.an-edu-more { color: #0c9b8c; font-weight: 600; }
.an-slider-nav { display: flex; align-items: center; gap: 10px; padding-bottom: 22px; position: relative; z-index: 2; }
.an-slider-arrow, .an-slider-pause { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #ffffff26; border-radius: 50%; color: #b7d0dc; background: transparent; font-size: 13px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.an-slider-pause { font-size: 9px; letter-spacing: -1px; margin-left: 6px; }
.an-slider-arrow:hover, .an-slider-pause:hover { background: #ffffff12; color: #fff; border-color: #ffffff45; }
.an-slider-dots { display: flex; gap: 8px; }
.an-slider-dots button { width: 24px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: #ffffff30; cursor: pointer; transition: width .3s, background .3s; }
.an-slider-dots button[aria-current="true"] { width: 44px; background: #65e1c7; }
:is(.an-slider-arrow, .an-slider-pause, .an-slider-dots button):focus-visible { outline: 2px solid #65e1c7; outline-offset: 3px; }
@media (max-width: 800px) { .an-slider .an-hero-grid { padding-bottom: 30px; } }
@media (max-width: 520px) { .an-edu-tracks li { padding: 11px; gap: 10px; } .an-edu-heading { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .an-slide, .an-slide.is-active, .an-slide-link .an-workspace { transition: none; } }
.an-slide-link .an-title em { color: #65e1c7; }
.an-home .an-slide-link .an-title { font-size: clamp(2.3rem, 3.7vw, 3.35rem); }
.an-edu-tracks .an-source-tags { padding-top: 0; }
@media (max-width: 800px) { .an-home .an-slide-link .an-title { font-size: 44px; } }
@media (max-width: 520px) { .an-home .an-slide-link .an-title { font-size: 34px; } }
