/* Portada y escaparate de soluciones */
.hero {
    position: relative;
    overflow: hidden;
    padding: 104px 0 108px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 15%, rgba(6, 182, 212, .28), transparent 33%),
        radial-gradient(circle at 12% 86%, rgba(37, 99, 235, .36), transparent 38%),
        linear-gradient(135deg, #07142b, #0f2446 65%, #073751);
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -80px;
    height: 170px;
    border: 1px solid rgba(125, 211, 252, .16);
    border-radius: 50%;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero .badge {
    padding: 7px 13px;
    border: 1px solid rgba(125, 211, 252, .36);
    border-radius: 999px;
    color: #a5f3fc;
    background: rgba(255,255,255,.07);
    font-size: 13px;
}
.hero h1 { letter-spacing: -.035em; }
.hero h1 span { color: #67e8f9; }
.hero-text p { color: #d7e6f4; }
.hero .btn-primary { background: #22d3ee; color: #08243b; }
.hero .btn-primary:hover { background: #67e8f9; }
.hero .btn-secondary { border-color: rgba(255,255,255,.42); color: #fff; background: rgba(255,255,255,.08); }
.hero .btn-secondary:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.16); }
.hero .app-window { border: 1px solid rgba(255,255,255,.35); color: var(--dark); box-shadow: 0 35px 100px rgba(0,0,0,.32); }
.hero .floating-badge { color: #12304a; }

.solutions-section { background: #fff; scroll-margin-top: 78px; }
.solutions-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 32px; }
.solutions-heading > div { max-width: 640px; }
.solutions-heading h2 { max-width: 640px; margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
.solutions-heading > p { max-width: 335px; margin: 0 0 3px; color: var(--text); }
.solution-picker { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.solution-tab, .stage-tab { font: inherit; cursor: pointer; }
.solution-tab { display: inline-flex; align-items: center; gap: 9px; min-height: 47px; padding: 10px 17px; border: 1px solid #d5e1ef; border-radius: 11px; color: #315071; background: #f7fafd; font-weight: 700; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.solution-tab span { color: #0c8faa; font-size: 20px; line-height: 1; }
.solution-tab:hover { border-color: #7bb4ed; }
.solution-tab[aria-pressed="true"] { border-color: #173a6d; color: white; background: #173a6d; }
.solution-tab[aria-pressed="true"] span { color: #67e8f9; }
.solution-showcase { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); overflow: hidden; min-height: 570px; border: 1px solid #cbdff0; border-radius: 24px; background: #f7fbff; box-shadow: 0 24px 65px rgba(15, 35, 65, .09); }
.solution-story { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 4vw, 56px); }
.solution-kicker { color: #1266b2; font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.solution-story h3 { margin: 18px 0 14px; font-size: clamp(28px, 3vw, 39px); line-height: 1.12; letter-spacing: -.03em; }
.solution-story > p { max-width: 480px; margin: 0 0 26px; color: var(--text); }
.solution-before, .solution-after { width: 100%; padding: 17px 19px; border-radius: 14px; }
.solution-before { border: 1px solid #e2e8f0; background: white; }
.solution-after { margin-top: 10px; border: 1px solid #b9e8ef; background: #e9faff; }
.solution-label { color: #42576d; font-size: 12px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.solution-after .solution-label { color: #08758b; }
.solution-before p, .solution-after p { margin: 6px 0 0; line-height: 1.45; }
.solution-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: auto; padding-top: 28px; }
.solution-text-link { color: #1d4ed8; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.solution-preview { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); color: #ecf8ff; background: radial-gradient(circle at 84% 10%, #0e6481, transparent 30%), linear-gradient(150deg, #061a34, #0b3154 65%, #084660); }
.solution-preview::before { content: ""; position: absolute; right: -85px; bottom: -130px; width: 330px; height: 330px; border: 1px solid rgba(125,211,252,.16); border-radius: 50%; pointer-events: none; }
.solution-preview-top { display: flex; align-items: center; gap: 12px; }
.preview-mark { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; color: #072744; background: linear-gradient(135deg, #3b82f6, #67e8f9); font-weight: 900; font-size: 23px; }
.solution-preview-top strong, .solution-preview-top small { display: block; }
.solution-preview-top small { color: #b7d2e5; font-size: 12px; }
.preview-spark { margin-left: auto; color: #67e8f9; font-size: 26px; }
.stage-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin: 30px 0 17px; padding: 5px; border: 1px solid rgba(147,197,253,.18); border-radius: 12px; background: rgba(0,0,0,.17); }
.stage-tab { min-width: 0; padding: 10px 6px; border: 0; border-radius: 8px; color: #b8d0e2; background: transparent; font-size: 13px; font-weight: 700; }
.stage-tab span { display: block; color: #84cbe5; font-size: 11px; }
.stage-tab[aria-pressed="true"] { color: #06314b; background: #a5f3fc; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.stage-tab[aria-pressed="true"] span { color: #075985; }
.stage-screen { position: relative; padding: 24px; border: 1px solid rgba(147,197,253,.28); border-radius: 16px; background: rgba(255,255,255,.09); box-shadow: 0 16px 35px rgba(0,0,0,.12); }
.stage-screen-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.stage-screen-head small { color: #67e8f9; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.stage-screen h4 { margin: 4px 0 0; font-size: clamp(20px, 2.5vw, 27px); line-height: 1.2; }
.stage-live-dot { width: 10px; height: 10px; flex: none; margin-top: 5px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 0 5px rgba(34,211,238,.13); }
.stage-screen > p { margin: 13px 0 21px; color: #c8e0ed; font-size: 14px; }
.stage-rows { display: grid; gap: 9px; }
.stage-row { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 9px 12px; border: 1px solid rgba(147,197,253,.2); border-radius: 9px; background: rgba(255,255,255,.08); font-size: 13px; }
.stage-row-icon { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 6px; color: #a5f3fc; background: rgba(34,211,238,.14); font-size: 10px; font-weight: 800; }
.stage-row-check { margin-left: auto; color: #67e8f9; font-weight: 800; }
.solution-preview-note { position: relative; margin: auto 0 0; padding-top: 22px; color: #b8d3e5; font-size: 12px; }
.solution-tab:focus-visible, .stage-tab:focus-visible { outline: 3px solid #06b6d4; outline-offset: 3px; }

@media (max-width: 900px) {
    .hero { padding: 78px 0 82px; }
    .solutions-heading { display: block; }
    .solutions-heading > p { max-width: 700px; margin-top: 16px; }
    .solution-showcase { grid-template-columns: 1fr; }
    .solution-story { padding: 32px; }
    .solution-preview { min-height: 460px; }
}
@media (max-width: 600px) {
    .hero { padding: 60px 0 70px; }
    .solution-picker { display: grid; grid-template-columns: 1fr; }
    .solution-tab { width: 100%; }
    .solution-showcase { border-radius: 17px; }
    .solution-story, .solution-preview { padding: 23px; }
    .solution-links { align-items: stretch; flex-direction: column; width: 100%; }
    .solution-links .btn { width: 100%; }
    .stage-screen { padding: 18px; }
    .stage-tab { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .solution-tab, .stage-tab { transition: none; }
}
