/* ============================================================
   nosotros-corp.css — /nosotros corporativo (nc-), fondo blanco
   ============================================================ */
.nc { background: #ffffff; color: #0f172a; }
.nc-hero { position: relative; padding: 80px 0 48px; overflow: hidden; background: radial-gradient(900px 440px at 88% 10%, #eef2ff, transparent 62%), radial-gradient(700px 380px at 0% 100%, #ecfeff, transparent 60%), #ffffff; border-bottom: 1px solid #e2e8f0; }
.nc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.nc-kicker { display: inline-flex; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: #eef2ff; border: 1px solid #c7d2fe; color: #3730a3; font-size: .8rem; font-weight: 700; }
.nc-title { margin: 0 0 18px; font-size: clamp(2.3rem, 4.8vw, 3.8rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; color: #0f172a; }
.nc-accent { background: linear-gradient(100deg, #4f46e5, #2563eb 50%, #0891b2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nc-lead { margin: 0 0 26px; max-width: 600px; color: #475569; font-size: 1.1rem; line-height: 1.7; text-align: justify; hyphens: auto; }
.nc-cta, .nc-final-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.nc .btn { display: inline-flex; align-items: center; gap: 8px; }
.nc .btn-primary { background: #4f46e5; border-color: #4f46e5; color: #fff; box-shadow: 0 10px 24px -12px rgba(79, 70, 229, .8); }
.nc .btn-primary:hover { background: #4338ca; }

.nc-portfolio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 26px; border-radius: 28px; background: #ffffff; border: 1px solid #e2e8f0; box-shadow: 0 30px 70px -40px rgba(15, 23, 42, .45); transform: rotate(-2deg); }
.nc-portfolio img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 22%; box-shadow: 0 10px 22px -10px rgba(15, 23, 42, .45); animation: ncFloat 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
@keyframes ncFloat { 50% { transform: translateY(-6px); } }

.nc-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 48px 0 0; padding: 0; border: 1px solid #e2e8f0; border-radius: 18px; background: #ffffff; box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06); overflow: hidden; }
.nc-stats div { display: flex; flex-direction: column; gap: 2px; padding: 20px 24px; border-left: 1px solid #e2e8f0; }
.nc-stats div:first-child { border-left: 0; }
.nc-stats dd { margin: 0; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; color: #4f46e5; line-height: 1.1; }
.nc-stats dt { color: #64748b; font-size: .85rem; font-weight: 600; }

.nc-section { padding: 88px 0; }
.nc-alt { background: #f8fafc; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.nc-head { max-width: 760px; margin: 0 0 40px; }
.nc-eyebrow { margin: 0 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #4f46e5; }
.nc-head h2, .nc-company h2, .nc-final h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; color: #0f172a; }
.nc-head p:not(.nc-eyebrow) { margin: 0; color: #475569; font-size: 1.05rem; line-height: 1.65; }

.nc-mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.nc-mv-card { position: relative; padding: 36px; border-radius: 22px; border: 1px solid #e2e8f0; background: #ffffff; box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06); overflow: hidden; }
.nc-mv-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #4f46e5, #0891b2); }
.nc-mv-card.is-vision::before { background: linear-gradient(180deg, #7c3aed, #4f46e5); }
.nc-mv-card h3 { margin: 16px 0 10px; font-size: 1.4rem; color: #0f172a; }
.nc-mv-card p { margin: 0; color: #334155; font-size: 1.12rem; line-height: 1.7; text-align: justify; hyphens: auto; }
.nc-mv-ic, .nc-line-ic, .nc-value-ic, .nc-mil-ic { display: inline-flex; width: 48px; height: 48px; flex: none; align-items: center; justify-content: center; border-radius: 13px; background: #eef2ff; color: #4f46e5; font-size: 1.35rem; }
.nc-mv-card.is-vision .nc-mv-ic { background: #f5f3ff; color: #7c3aed; }

.nc-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nc-line { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 18px; background: #ffffff; border: 1px solid #e2e8f0; color: #0f172a; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.nc-line:hover { transform: translateY(-4px); border-color: #c7d2fe; box-shadow: 0 12px 32px rgba(79, 70, 229, .12); }
.nc-line h3 { margin: 6px 0 0; font-size: 1.15rem; }
.nc-line p { margin: 0; color: #475569; line-height: 1.6; font-size: .95rem; }
.nc-line-go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: #4f46e5; }

.nc-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nc-value { position: relative; padding: 26px; border-radius: 18px; border: 1px solid #e2e8f0; background: linear-gradient(180deg, #ffffff, #f8fafc); }
.nc-value-n { position: absolute; top: 20px; right: 22px; font-size: .8rem; font-weight: 800; color: #94a3b8; letter-spacing: .08em; }
.nc-value h3 { margin: 16px 0 6px; font-size: 1.08rem; }
.nc-value p { margin: 0; color: #475569; line-height: 1.6; font-size: .93rem; }

.nc-milestones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.nc-milestones li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 16px; background: #ffffff; border: 1px solid #e2e8f0; }
.nc-milestones h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.nc-milestones p { margin: 0; color: #475569; line-height: 1.55; font-size: .93rem; }
.nc-milestones .is-next { border-style: dashed; border-color: #a5b4fc; background: #f5f7ff; }
.nc-mil-ic { width: 42px; height: 42px; font-size: 1.15rem; }

.nc-company { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.nc-founder { display: block; border-radius: 24px; overflow: hidden; background: #ffffff; border: 1px solid #e2e8f0; box-shadow: 0 30px 60px -36px rgba(15, 23, 42, .45); color: #0f172a; text-decoration: none; transition: transform .2s ease; }
.nc-founder:hover { transform: translateY(-4px); }
.nc-founder img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.nc-founder > div { padding: 20px 22px; }
.nc-founder-name { margin: 0; font-size: 1.25rem; font-weight: 800; }
.nc-founder-role { margin: 4px 0 10px; color: #64748b; }
.nc-co-text { color: #475569; font-size: 1.05rem; line-height: 1.7; margin: 0 0 22px; text-align: justify; hyphens: auto; }
.nc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 24px; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; }
.nc-facts div { padding: 14px 18px; border-bottom: 1px solid #e2e8f0; }
.nc-facts div:nth-child(odd) { border-right: 1px solid #e2e8f0; }
.nc-facts div:nth-last-child(-n+2) { border-bottom: 0; }
.nc-facts dt { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.nc-facts dd { margin: 4px 0 0; font-weight: 600; color: #0f172a; }
.nc-facts a { color: #4f46e5; }

.nc-final { padding: 0 0 96px; }
.nc-final-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px; border-radius: 24px; background: linear-gradient(120deg, #0f172a, #1e1b4b 60%, #312e81); color: #fff; }
.nc-final h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.nc-final p { margin: 0; color: #cbd5e1; max-width: 640px; line-height: 1.6; }
.nc-final .btn-glass { background: rgba(255, 255, 255, .08) !important; border-color: rgba(255, 255, 255, .25) !important; color: #fff !important; }
.nc-final-cta { flex: none; }

@media (max-width: 1000px) {
    .nc-hero-grid, .nc-company { grid-template-columns: 1fr; gap: 36px; }
    .nc-portfolio { max-width: 420px; transform: none; }
    .nc-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nc-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nc-stats div:nth-child(4) { border-left: 0; }
    .nc-stats div:nth-child(n+4) { border-top: 1px solid #e2e8f0; }
    .nc-final-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .nc-hero { padding: 48px 0 36px; }
    .nc-section { padding: 64px 0; }
    .nc-mv, .nc-lines, .nc-values, .nc-milestones, .nc-facts { grid-template-columns: 1fr; }
    .nc-facts div:nth-child(odd) { border-right: 0; }
    .nc-facts div:nth-last-child(2) { border-bottom: 1px solid #e2e8f0; }
    .nc-mv-card { padding: 26px; }
    .nc-final-box { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) { .nc-portfolio img { animation: none; } }

/* Videos de los dos frentes (15-nov-2026): una línea discreta bajo el cierre, con modal. */
.nc-videos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin: 18px auto 8px; font-size: .9rem; color: #64748b; text-align: center; }
.nc-vid-link { background: none; border: 0; padding: 4px 2px; font: inherit; font-weight: 600; color: #4f46e5; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(79,70,229,.35); }
.nc-vid-link:hover, .nc-vid-link:focus-visible { color: #312e81; text-decoration-color: currentColor; }
.nc-vmodal { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(960px, 94vw); padding: 0; border: 0; border-radius: 18px; background: #0b1120; overflow: visible; }
.nc-vmodal::backdrop { background: rgba(11,17,32,.72); }
.nc-vbox { position: relative; }
.nc-vframe { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; }
.nc-vframe iframe { width: 100%; height: 100%; border: 0; display: block; }
.nc-vclose { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: #0b1120; font-size: 16px; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
@media (max-width: 640px) { .nc-vclose { top: -44px; right: 0; } }
