/* Kreatik Studio · /jesuskreatik
   Estética modular con silueta de carpeta Figma ([data-forma]), fondo navy sólido sin rejilla ni bordes. */
body.pagina-bio {
  background: var(--navy);
  color: var(--blanco);
  min-height: 100vh;
  min-height: 100svh;
}

.jk {
  background: var(--navy);
  padding: max(22px, env(safe-area-inset-top)) 0 max(42px, env(safe-area-inset-bottom));
}

.jk-contenedor {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- Cabecera mínima horizontal sin caja ni bordes ---------- */
.jk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 4px;
}

.jk-logo-horiz {
  color: var(--blanco);
  text-decoration: none;
  font-weight: 900;
  font-size: clamp(18px, 1.8vw, 23px);
  letter-spacing: -.04em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
.jk-logo-horiz span {
  font-weight: 200;
  letter-spacing: .28em;
  margin-left: 5px;
}

.jk-compartir {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 2px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  font-family: Montserrat, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: color .25s ease, transform .3s var(--curva);
}
.jk-compartir:hover { color: var(--blanco); transform: translateY(-1px); }
.jk-compartir.copiado { color: #8EA4FF; }

/* ---------- Módulos tipo carpeta ---------- */
.jk-modulo {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  --corte: 54px;
  transition: transform .4s var(--curva);
}

/* ---------- Grid principal (escritorio amplio en 2 columnas) ---------- */
.jk-grid {
  display: grid;
  grid-template-columns: minmax(340px, .88fr) minmax(0, 1.18fr);
  gap: 20px;
  align-items: stretch;
}

.jk-col-der {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* ---------- Perfil (Carpeta azul Kreatik) ---------- */
.jk-perfil {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: calc(var(--corte) + 28px) clamp(24px, 3vw, 38px) clamp(26px, 3vw, 36px);
  background: var(--azul);
  color: var(--blanco);
}

.jk-perfil__cab {
  display: flex;
  align-items: center;
  gap: 18px;
}

.jk-avatar {
  flex: none;
  width: 96px;
  height: 96px;
}

.jk-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.jk-identidad { min-width: 0; }
.jk-firma {
  display: block;
  width: min(176px, 100%);
  height: auto;
  margin-bottom: 8px;
}
.jk-nombre {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.jk-rol {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, .88);
  line-height: 1.35;
}

.jk-titular {
  margin: 0;
  font-weight: 900;
  font-size: clamp(25px, 2.7vw, 38px);
  line-height: 1.06;
  letter-spacing: -.045em;
  color: var(--blanco);
}

.jk-perfil__pie {
  display: flex;
  align-items: center;
}

.jk-redes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jk-redes a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(5, 16, 66, .28);
  color: var(--blanco);
  text-decoration: none;
  transition: transform .35s var(--curva), background-color .25s ease, color .25s ease;
}

.jk-redes a:hover {
  transform: translateY(-2px);
  background: var(--blanco);
  color: var(--azul);
}

/* ---------- Acciones (Cotizar + WhatsApp) ---------- */
.jk-acciones {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.jk-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: calc(var(--corte) + 20px) 24px 24px;
  background: var(--blanco);
  color: var(--navy);
  text-decoration: none;
}

.jk-cta:hover { transform: translateY(-3px); }

.jk-cta__txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.jk-cta__txt strong {
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 900;
  letter-spacing: -.045em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--azul);
}
.jk-cta__txt small {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(5, 16, 66, .74);
}

.jk-cta__flecha {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--azul);
  color: var(--blanco);
  transition: transform .35s var(--curva), background-color .25s ease;
}
.jk-cta:hover .jk-cta__flecha { transform: translateX(3px); background: var(--navy); }

.jk-wa {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 24px;
  background: #0B195B;
  color: var(--blanco);
  text-decoration: none;
  transition: transform .35s var(--curva), background-color .25s ease;
}
.jk-wa:hover { transform: translateY(-3px); background: #102274; }

.jk-wa__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #16A34A;
  color: var(--blanco);
}
.jk-wa-svg {
  display: inline-block;
  width: 21px;
  height: 21px;
  background: currentColor;
  -webkit-mask: url("../assets/icono-whatsapp.svg") center / contain no-repeat;
  mask: url("../assets/icono-whatsapp.svg") center / contain no-repeat;
}

.jk-wa__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.jk-wa__txt strong { font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.jk-wa__txt small { font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .74); }
.jk-wa__ir { font-size: 18px; font-weight: 800; color: rgba(255, 255, 255, .72); }

/* ---------- Proyectos recientes (carpeta + arrastre con cursor) ---------- */
.jk-portafolio {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: calc(var(--corte) + 18px) 24px 24px;
  background: #0B195B;
  color: var(--blanco);
  min-width: 0;
}

.jk-portafolio__cab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.jk-subtitulo {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 900;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.jk-ver-todos {
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  color: var(--blanco);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s ease;
}
.jk-ver-todos:hover { background: var(--azul); }

.jk-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.jk-filtro {
  height: 34px;
  padding: 0 15px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .82);
  font-family: Montserrat, sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.jk-filtro.activo { background: var(--blanco); color: var(--azul); }

.jk-pista {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  padding-bottom: 2px;
}
.jk-pista::-webkit-scrollbar { display: none; }
.jk-pista.arrastrando { cursor: grabbing; }

.jk-caso {
  position: relative;
  flex: none;
  width: 168px;
  aspect-ratio: 306 / 470;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--blanco);
  background: #081245;
  transition: transform .35s var(--curva);
}
.jk-caso[hidden] { display: none; }
.jk-caso:hover { transform: translateY(-4px); }
.jk-pista.arrastrando .jk-caso:hover { transform: none; }
.jk-caso img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

.jk-caso__pie {
  position: absolute;
  inset: auto 0 0 0;
  padding: 38px 12px 12px;
  background: linear-gradient(180deg, transparent, rgba(5, 16, 66, .92) 74%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jk-caso__pie span { font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.jk-caso__pie strong { font-size: 14px; font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; }

/* ---------- Ecosistema inferior (4 carpetas al ancho) ---------- */
.jk-ecosistema__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.jk-eco-carpeta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  min-height: 138px;
  padding: calc(var(--corte) + 18px) 20px 20px;
  background: #0B195B;
  color: var(--blanco);
  text-decoration: none;
}
.jk-eco-carpeta:hover { transform: translateY(-3px); background: #102274; }
.jk-eco-carpeta--azul { background: var(--azul); }
.jk-eco-carpeta--azul:hover { background: #2148ff; }

.jk-eco-ico {
  position: absolute;
  top: 14px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  color: var(--blanco);
  transition: transform .35s var(--curva), background-color .25s ease, color .25s ease;
}
.jk-eco-carpeta--azul .jk-eco-ico { background: rgba(5, 16, 66, .28); }
.jk-eco-carpeta:hover .jk-eco-ico { transform: translateY(-2px) scale(1.06); background: var(--blanco); color: var(--azul); }

.jk-eco-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .62);
}
.jk-eco-carpeta strong {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.jk-eco-carpeta small {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .76);
}

/* ---------- Pie minimalista ---------- */
.jk-pie {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 14px 4px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .66);
}

.jk-pie__izq {
  display: flex;
  align-items: center;
  gap: 8px;
}
.jk-pie__marca { font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; color: var(--blanco); }
.jk-pie__sep { opacity: .45; }

.jk-pie__der {
  display: flex;
  align-items: center;
  gap: 18px;
}
.jk-correo {
  font-weight: 700;
  color: var(--blanco);
  text-decoration: none;
}
.jk-correo:hover { text-decoration: underline; }
.jk-privacidad {
  color: rgba(255, 255, 255, .66);
  text-decoration: none;
}
.jk-privacidad:hover { color: var(--blanco); }

/* ---------- Móvil: vertical limpio y proporcionado sin cortes extraños ---------- */
@media (max-width: 919px) {
  .jk-contenedor { width: min(560px, calc(100% - 28px)); gap: 16px; }
  .jk-grid { grid-template-columns: 1fr; gap: 16px; }
  .jk-col-der { gap: 16px; }
  .jk-acciones { grid-template-columns: 1fr; gap: 12px; }
  .jk-ecosistema__grid { grid-template-columns: 1fr; gap: 12px; }
  .jk-eco-carpeta { min-height: 98px; padding: calc(var(--corte) + 12px) 22px 18px; }
  .jk-caso { width: 150px; }
  .jk-pie { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 8px; }
}

@media (max-width: 440px) {
  .jk-avatar { width: 82px; height: 82px; }
  .jk-perfil__cab { gap: 14px; }
  .jk-titular { font-size: 27px; }
}
