html { overflow-x: hidden; }
body:before { display: none; }
.hero-photo { position: relative; margin: 0; min-height: 520px; overflow: hidden; border: 1px solid rgba(70,149,255,.3); border-radius: 24px; background: #07101c; box-shadow: 0 0 70px rgba(0,110,255,.2), var(--shadow); }
.hero-photo img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: 68% center; display: block; }
.hero-photo:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,9,16,.42), transparent 38%), linear-gradient(0deg, rgba(5,9,16,.48), transparent 35%); pointer-events: none; }
.hero-photo figcaption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.hero-photo figcaption span { padding: .45rem .7rem; border: 1px solid rgba(82,153,236,.35); border-radius: 999px; background: rgba(4,12,23,.72); backdrop-filter: blur(8px); color: #cfe3ff; font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
@media(max-width:640px){.hero-photo{min-height:360px}.hero-photo img{min-height:360px;object-position:72% center}}

/* V2.0 immersive hero: the image belongs to the composition instead of a card. */
.hero--background{position:relative;isolation:isolate;background-color:#050910;background-image:none;min-height:calc(100svh - 76px)}
.hero--background .hero-image-layer{position:absolute;z-index:-3;inset:0;background-image:var(--hero-image);background-size:cover;background-position:66% center;filter:saturate(.92) contrast(1.04)}
.hero--background .hero-shade{position:absolute;z-index:-2;inset:0;background:linear-gradient(90deg,#050910 0%,rgba(5,9,16,.96) 34%,rgba(5,9,16,.58) 58%,rgba(5,9,16,.18) 82%),linear-gradient(0deg,#050910 0%,transparent 28%,rgba(5,9,16,.08) 72%,#050910 100%),radial-gradient(circle at 82% 44%,transparent 0,rgba(5,9,16,.12) 44%,rgba(5,9,16,.65) 100%)}
.hero--background:before{content:"";position:absolute;z-index:-1;inset:0;background-image:linear-gradient(rgba(44,122,211,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(44,122,211,.12) 1px,transparent 1px);background-size:64px 64px;mask-image:linear-gradient(90deg,#000,rgba(0,0,0,.45),transparent 82%)}
.hero--background:after{content:"";position:absolute;z-index:-1;inset:auto 0 0;height:38%;background:linear-gradient(transparent,#050910)}
.hero-grid--overlay{grid-template-columns:minmax(0,760px) 1fr;min-height:680px}
.hero--background .hero-copy{position:relative;z-index:2;text-shadow:0 2px 24px rgba(0,0,0,.55)}
.hero--background .hero-copy h1{max-width:820px}
.hero-data-panel{justify-self:end;align-self:end;width:min(290px,100%);margin-bottom:38px;padding:18px 20px;border:1px solid rgba(88,161,255,.32);border-radius:14px;background:rgba(4,12,23,.56);box-shadow:0 18px 60px rgba(0,0,0,.28);backdrop-filter:blur(12px)}
.hero-data-panel span,.hero-data-panel small{display:block;color:#8ba8ca;font-size:.68rem;letter-spacing:.1em;text-transform:uppercase}.hero-data-panel strong{display:block;margin:.35rem 0;color:#f3f8ff;font-size:1.05rem}
@media(max-width:980px){.hero-grid--overlay{grid-template-columns:1fr;min-height:660px}.hero-data-panel{display:none}.hero--background .hero-image-layer{background-position:70% center}.hero--background .hero-shade{background:linear-gradient(90deg,#050910 0%,rgba(5,9,16,.92) 48%,rgba(5,9,16,.25) 100%),linear-gradient(0deg,#050910 0%,transparent 36%,rgba(5,9,16,.3) 100%)}}
@media(max-width:640px){.hero--background{min-height:760px;padding:72px 0 58px}.hero-grid--overlay{min-height:620px;align-items:end}.hero--background .hero-image-layer{background-position:72% 20%;opacity:.68}.hero--background .hero-shade{background:linear-gradient(0deg,#050910 0%,rgba(5,9,16,.95) 52%,rgba(5,9,16,.32) 100%),linear-gradient(90deg,rgba(5,9,16,.78),transparent 72%)}.hero--background:before{background-size:42px 42px}.hero--background .hero-copy h1{font-size:clamp(2.45rem,11.2vw,3.45rem)}}
.primary-nav details { position: relative; }
.primary-nav summary { cursor: pointer; list-style: none; color: #c9d4e4; font-size: .92rem; }
.primary-nav summary::-webkit-details-marker { display: none; }
.primary-nav summary:after { content: "⌄"; margin-left: .38rem; color: #5aaeff; }
.primary-nav .submenu { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%); width: 250px; padding: 10px; border: 1px solid rgba(70,149,255,.26); border-radius: 14px; background: rgba(5,13,24,.98); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.primary-nav .submenu a { display: block; padding: .72rem .8rem; border-radius: 8px; }
.primary-nav .submenu a:hover,.primary-nav .submenu a:focus-visible { background: rgba(22,140,255,.12); color: #fff; }
@media(max-width:980px){.primary-nav details{width:100%}.primary-nav .submenu{position:static;transform:none;width:100%;margin-top:.7rem;box-shadow:none}.primary-nav summary{padding:.4rem 0}}
.proof-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.proof-media { margin: 0; min-height: 480px; border: 1px solid rgba(70,149,255,.28); border-radius: 24px; overflow: hidden; background: radial-gradient(circle at 50% 42%,rgba(21,93,170,.22),transparent 48%),#050b13; box-shadow: var(--shadow); }
.proof-media img { display: block; width: 100%; height: 100%; min-height: 480px; object-fit: contain; object-position: center bottom; }
.client-logos { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 28px; }
.client-logos span { min-height: 72px; display: grid; place-items: center; padding: 10px; border: 1px solid rgba(87,145,211,.18); border-radius: 12px; background: rgba(8,18,32,.76); }
.client-logos img { max-width: 100%; max-height: 48px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .78; }
@media(max-width:980px){.proof-grid{grid-template-columns:1fr;gap:40px}.proof-media,.proof-media img{min-height:400px}}
@media(max-width:640px){.proof-media,.proof-media img{min-height:320px}.client-logos{grid-template-columns:repeat(2,1fr)}}
.generic-page--elementor{padding:0;max-width:none;overflow:hidden}.generic-page--elementor>.elementor{width:100%;max-width:none}.generic-page--elementor+.site-footer{position:relative;z-index:2}
/* Remove the duplicated legacy Elementor navigation while preserving its hero section. */
.generic-page--elementor .elementor-element-1a81f671{display:none!important}
/* Qué es Power BI: "Más allá de los reportes" integrations section (reuses the stats card grid). */
.integrations-section .section-heading:last-child { margin-bottom: 0; }
.integration-card h3 { margin: 0 0 .6rem; font-size: 1.1rem; }
.integration-card .stat-icon { border-color: rgba(24,212,123,.35); background: rgba(24,212,123,.1); color: var(--green); box-shadow: 0 0 18px rgba(24,212,123,.18); }
.integration-card p { font-size: .95rem; }
/* Qué es Power BI: "Explóralo tú mismo" section (heading only). */
.embed-section .section-heading:last-child { margin-bottom: 0; }
/* Cursos Online: "Portafolio de reportes" section with a link to the report gallery. */
.showcase-section .section-heading:last-child { margin-bottom: 0; }
.showcase-section .button { margin-top: 1.4rem; gap: .45rem; }
/* Qué es Power BI: "Licenciamiento" section with a call to action. */
.pricing-section .section-heading:last-child { margin-bottom: 0; }
.pricing-section .button { margin-top: 1.4rem; }
/* Header logo: Simplifica "S" image (275x281 PNG) at the size of the former SVG mark. */
.brand-logo { display: block; width: auto; height: 38px; }
/* Licencias: "Planes y precios" table, styled like the site's cards; stacks into cards on phones. */
.price-table-wrap { max-width: 980px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(150deg,rgba(14,27,47,.95),rgba(6,12,22,.92)); box-shadow: var(--shadow); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 20px 24px; border-bottom: 1px solid var(--line); text-align: right; }
.price-table th:first-child { text-align: left; }
.price-table thead th { background: rgba(22,140,255,.12); color: #fff; font-size: .95rem; font-weight: 800; vertical-align: bottom; }
.price-table thead th small { display: block; margin-top: .3rem; color: #75bfff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.price-table tbody th { color: #fff; font-weight: 700; }
.price-table td { color: var(--text); font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody tr { transition: background .2s; }
.price-table tbody tr:hover { background: rgba(22,140,255,.06); }
.price-note { max-width: 980px; margin: 16px auto 0; color: var(--muted); font-size: .9rem; text-align: center; }
@media(max-width:640px){
	.price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
	.price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
	.price-table tbody tr { padding: 6px 0; border-bottom: 1px solid var(--line); }
	.price-table tbody tr:last-child { border-bottom: 0; }
	.price-table tbody th { padding: 16px 20px 8px; border: 0; }
	.price-table td { display: flex; justify-content: space-between; gap: 16px; padding: 8px 20px; border: 0; }
	.price-table td::before { content: attr(data-label); color: var(--muted); font-size: .85rem; font-weight: 500; text-align: left; white-space: normal; }
}
/* Six-card sections ("Ecosistema Power BI", "Por qué Simplifica"): 3 / 2 / 1 columns. */
.cards-3 .stats-grid { --stat-cols: 3; }
@media(max-width:980px){.cards-3 .stats-grid{--stat-cols:2}}
@media(max-width:640px){.cards-3 .stats-grid{--stat-cols:1}}
/* Home: "Trayectoria en cifras" stats section. */
.stats-grid { --stat-cols: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.stat-card { flex: 0 0 calc((100% - (var(--stat-cols) - 1) * 16px) / var(--stat-cols)); display: flex; flex-direction: column; justify-content: flex-start; min-height: 170px; padding: 32px 18px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg,rgba(14,27,47,.95),rgba(6,12,22,.92)); text-align: center; transition: transform .25s,border-color .25s; }
.stat-card:hover { transform: translateY(-4px); border-color: rgba(70,149,255,.45); }
.stat-value { display: block; margin-bottom: .8rem; font-size: 2.4rem; font-weight: 700; line-height: 1.2; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card p { margin: 0; color: var(--muted); }
.stat-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 1rem; border: 1px solid var(--line); border-radius: 50%; background: rgba(22,140,255,.1); color: #fff; }
.stat-icon svg { width: 24px; height: 24px; }
@media(max-width:980px){.stats-grid{--stat-cols:3}}
@media(max-width:640px){.stats-grid{--stat-cols:2}.stat-card{min-height:160px;padding:22px 14px}.stat-value{font-size:2rem}}
